Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
packed objects: minor cleanup
[gitweb.git]
/
git-checkout.sh
diff --git
a/git-checkout.sh
b/git-checkout.sh
index bd7f007307d458efec2cdd333dc9028402482f57..6a87c717e9cb8f0358ceca85ec7df8cf44f625d5 100755
(executable)
--- a/
git-checkout.sh
+++ b/
git-checkout.sh
@@
-164,6
+164,10
@@
else
esac
exit 0
)
+ saved_err=$?
+ test "$new" = "$old" ||
+ git diff-index --name-status "$new"
+ (exit $saved_err)
fi
#