diff options
author | Vasilii Iakliushin <viakliushin@gitlab.com> | 2021-03-23 15:17:30 +0300 |
---|---|---|
committer | Vasilii Iakliushin <viakliushin@gitlab.com> | 2021-03-29 16:12:16 +0300 |
commit | cb9c4f2e1e3555e0d8fc6f4bbf12c21a639519e0 (patch) | |
tree | 285bfc3672918c9066267f0476ec79b1ff707fdd /proto/diff.proto | |
parent | 45c2d4352edd6b91a0a76453ac58add9d5d00f8b (diff) |
Apply suggestion to diff mode descriptions
Diffstat (limited to 'proto/diff.proto')
-rw-r--r-- | proto/diff.proto | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/diff.proto b/proto/diff.proto index 03d3220e6..e3c22b528 100644 --- a/proto/diff.proto +++ b/proto/diff.proto @@ -45,7 +45,9 @@ service DiffService { message CommitDiffRequest { enum DiffMode { + // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. DEFAULT = 0; + // WORDDIFF is a word diff and computes the diff for whitespace separated words instead of for whole lines. WORDDIFF = 1; } @@ -71,7 +73,7 @@ message CommitDiffRequest { int32 safe_max_lines = 12; int32 safe_max_bytes = 13; - // Stores requested diff mode (default or word-diff) + // DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. DiffMode diff_mode = 15; } |