Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http-backend test: make empty CONTENT_LENGTH test more realistic
[gitweb.git]
/
t
/
t6010-merge-base.sh
diff --git
a/t/t6010-merge-base.sh
b/t/t6010-merge-base.sh
index 31db7b5f9125ed346450d7bfe29d8bb5fac0460a..aa2d360ce35940a176a0ef04ca7ba8560adefb23 100755
(executable)
--- a/
t/t6010-merge-base.sh
+++ b/
t/t6010-merge-base.sh
@@
-34,7
+34,7
@@
doit () {
commit=$(echo $NAME | git commit-tree $T $PARENTS) &&
-
echo $commit >.git/refs/tags/$NAME
&&
+
git update-ref "refs/tags/$NAME" "$commit"
&&
echo $commit
}