Merge branch 'maint'

* maint:
  scripts: do not get confused with HEAD in work tree
  Improve description of git-branch -d and -D in man page.
This commit is contained in:
Junio C Hamano
2007-11-28 17:06:57 -08:00
7 changed files with 25 additions and 18 deletions

View File

@ -15,7 +15,7 @@ trap 'rm -f "$TMP-*"' 0
ref_stash=refs/stash
no_changes () {
git diff-index --quiet --cached HEAD &&
git diff-index --quiet --cached HEAD -- &&
git diff-files --quiet
}