Skip to content

Commit c592fd4

Browse files
Denton-Lgitster
authored andcommitted
builtin/diff: fix botched update of usage comment
In the previous commit, an attempt was made to correct the "N=1, M=0" case. However, the fix was botched and it introduced two half-correct sections by mistake. Combine these half-correct sections into one fully correct section. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a9d7689 commit c592fd4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

builtin/diff.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,8 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
284284
* N=1, M=0:
285285
* tree vs files (diff-index)
286286
*
287-
* N=1, M=0:
288-
* tree vs cache (diff-index --cached)
289-
*
290287
* N=1, M=0, --cached:
291-
* tree vs files (diff-index)
288+
* tree vs cache (diff-index --cached)
292289
*
293290
* N=2, M=0:
294291
* tree vs tree (diff-tree)

0 commit comments

Comments
 (0)