summaryrefslogtreecommitdiffstats
path: root/git-diff.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-02-08 00:49:45 +0000
committerJunio C Hamano <junio@kernel.org>2011-02-08 00:49:45 +0000
commite611683c24e33fcc90bfc93d80eba2d5c5622fc7 (patch)
tree66c6815ac8d79adb77f72a4a3a74e2da2680925a /git-diff.html
parent103b5722e7729973bb843e748abe7d4c8f8f9a28 (diff)
downloadgit-htmldocs-e611683c24e33fcc90bfc93d80eba2d5c5622fc7.tar.gz
Autogenerated HTML docs for v1.7.4-15-g7811
Diffstat (limited to 'git-diff.html')
-rw-r--r--git-diff.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-diff.html b/git-diff.html
index cfba0837b..869bd376c 100644
--- a/git-diff.html
+++ b/git-diff.html
@@ -452,6 +452,8 @@ directories. This behavior can be forced by --no-index.</p></div>
commit relative to the named &lt;commit&gt;. Typically you
would want comparison with the latest commit, so if you
do not give &lt;commit&gt;, it defaults to HEAD.
+ If HEAD does not exist (e.g. unborned branches) and
+ &lt;commit&gt; is not given, it shows all staged changes.
--staged is a synonym of --cached.
</p>
</dd>
@@ -1875,7 +1877,7 @@ Output diff in reverse.
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-12-05 06:20:21 UTC
+Last updated 2011-02-08 00:49:11 UTC
</div>
</div>
</body>