From 2baf1850ceb01dfbee862e30f2a69cf6064e13eb Mon Sep 17 00:00:00 2001 From: David Symonds Date: Wed, 29 Oct 2008 09:15:36 -0700 Subject: git-diff: Add --staged as a synonym for --cached. Signed-off-by: Junio C Hamano --- Documentation/git-diff.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/git-diff.txt') 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 . Typically you would want comparison with the latest commit, so if you do not give , it defaults to HEAD. + --staged is a synonym of --cached. 'git diff' [--options] [--] [...]:: -- cgit v1.3