X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-commit.sh;h=1e7c09e1f2fdf3b4327c903084bd86616b7956f1;hb=384e99a4a99820c34fe3600b2aad3f0185dd43db;hp=330a434b1891a67f78dfbb665558efef868bb704;hpb=d09a0a3cb862ead8bb7eec30439cb0eed41e91e3;p=git.git diff --git a/git-commit.sh b/git-commit.sh index 330a434b..1e7c09e1 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -161,7 +161,7 @@ run_status () { } ' - if test -n "$verbose" + if test -n "$verbose" -a -z "$IS_INITIAL" then git-diff-index --cached -M -p --diff-filter=MDTCRA $REFERENCE fi