Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
upload-pack: provide a hook for running pack-objects
[gitweb.git]
/
git-rebase--interactive.sh
diff --git
a/git-rebase--interactive.sh
b/git-rebase--interactive.sh
index 1c6dfb6d5618f43eaac1c279332d33e6a913c2d9..9d2bfb7a16afc10c1a52fe80e718d6199df0e331 100644
(file)
--- a/
git-rebase--interactive.sh
+++ b/
git-rebase--interactive.sh
@@
-867,12
+867,12
@@
add_exec_commands () {
# $3: the input filename
check_commit_sha () {
badsha=0
- if test -z
$1
+ if test -z
"$1"
then
badsha=1
else
sha1_verif="$(git rev-parse --verify --quiet $1^{commit})"
- if test -z
$sha1_verif
+ if test -z
"$sha1_verif"
then
badsha=1
fi