summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-23 07:53:02 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-23 07:53:02 (GMT)
commit9f92f15f897fa1a943bcec324032cc4ca1f73ecf (patch)
tree915e6390149983a80bcd574f6ccd516e0ea3288a /strbuf.h
parent2c08b3638339f9b73128c41a4882e115222608a3 (diff)
downloadgit-9f92f15f897fa1a943bcec324032cc4ca1f73ecf.zip
git-9f92f15f897fa1a943bcec324032cc4ca1f73ecf.tar.gz
git-9f92f15f897fa1a943bcec324032cc4ca1f73ecf.tar.bz2
Make 'git diff --cached' synonymous to 'git diff --cached HEAD'.
When making changes to different files (i.e. dirty working tree) and committing logically separate changes in groups, often it is necessary to run 'git diff --cached HEAD' to make sure that the changes being committed makes sense. Saying 'git diff --cached' by mistake gives rather uninformative error message from git-diff-files complaining it does not understand --cached flag. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions