summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-23 00:53:02 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-23 00:53:02 -0700
commit9f92f15f897fa1a943bcec324032cc4ca1f73ecf (patch)
tree915e6390149983a80bcd574f6ccd516e0ea3288a /.gitignore
parent2c08b3638339f9b73128c41a4882e115222608a3 (diff)
downloadgit-9f92f15f897fa1a943bcec324032cc4ca1f73ecf.tar.gz
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions