summaryrefslogtreecommitdiff
path: root/Documentation/git-diff.txt
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@gmail.com>2008-10-29 09:15:36 -0700
committerJunio C Hamano <gitster@pobox.com>2008-11-11 14:55:43 -0800
commit2baf1850ceb01dfbee862e30f2a69cf6064e13eb (patch)
treecae035c295bd03571c99d761538c8b7aba3df13e /Documentation/git-diff.txt
parent36bd844658cf244ec2c6756c18673a4b7ed8ec9e (diff)
downloadgit-2baf1850ceb01dfbee862e30f2a69cf6064e13eb.tar.gz
git-diff: Add --staged as a synonym for --cached.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-diff.txt')
-rw-r--r--Documentation/git-diff.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt
index c53eba557d..a2f192fb75 100644
--- a/Documentation/git-diff.txt
+++ b/Documentation/git-diff.txt
@@ -33,6 +33,7 @@ forced by --no-index.
commit relative to the named <commit>. Typically you
would want comparison with the latest commit, so if you
do not give <commit>, it defaults to HEAD.
+ --staged is a synonym of --cached.
'git diff' [--options] <commit> [--] [<path>...]::