diff options
author | Junio C Hamano <junio@kernel.org> | 2011-02-08 00:49:45 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-02-08 00:49:45 +0000 |
commit | e611683c24e33fcc90bfc93d80eba2d5c5622fc7 (patch) | |
tree | 66c6815ac8d79adb77f72a4a3a74e2da2680925a /git-diff.txt | |
parent | 103b5722e7729973bb843e748abe7d4c8f8f9a28 (diff) | |
download | git-htmldocs-e611683c24e33fcc90bfc93d80eba2d5c5622fc7.tar.gz |
Autogenerated HTML docs for v1.7.4-15-g7811
Diffstat (limited to 'git-diff.txt')
-rw-r--r-- | git-diff.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-diff.txt b/git-diff.txt index f6ac84750..49105102d 100644 --- a/git-diff.txt +++ b/git-diff.txt @@ -38,6 +38,8 @@ directories. This behavior can be 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. + If HEAD does not exist (e.g. unborned branches) and + <commit> is not given, it shows all staged changes. --staged is a synonym of --cached. 'git diff' [--options] <commit> [--] [<path>...]:: |