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

@ -61,7 +61,7 @@ continue_merge () {
fi
cmt=`cat "$dotest/current"`
if ! git diff-index --quiet HEAD
if ! git diff-index --quiet HEAD --
then
if ! git-commit -C "$cmt"
then
@ -285,7 +285,7 @@ fi
# The tree must be really really clean.
git update-index --refresh || exit
diff=$(git diff-index --cached --name-status -r HEAD)
diff=$(git diff-index --cached --name-status -r HEAD --)
case "$diff" in
?*) echo "cannot rebase: your index is not up-to-date"
echo "$diff"