diff --no-index: clarify operation when not inside a repository
authorDale R. Worley <worley@alum.mit.edu>
Thu, 22 Aug 2013 20:31:21 +0000 (16:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Aug 2013 20:55:28 +0000 (13:55 -0700)
commitb214eddfb2d57e318a3f5b88da1cafcf19184b4d
tree35115dffbe71f776bcd0ff904309a09f90c10937
parenta3bc3d070cacf07dbe11b4bfec57554c8bbf1957
diff --no-index: clarify operation when not inside a repository

Clarify documentation for "diff --no-index".  State that when not
inside a repository, --no-index is implied and two arguments are
mandatory.

Clarify error message from diff-no-index to inform user that CWD is
not inside a repository and thus two arguments are mandatory.

Signed-off-by: Dale Worley <worley@ariadne.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff.txt
diff-no-index.c