chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11a91e4
)
tg-export: Ensure we don't overwrite a branch by git update-ref
author
Petr Baudis
<pasky@suse.cz>
Tue, 12 Aug 2008 16:19:20 +0000
(18:19 +0200)
committer
Petr Baudis
<pasky@suse.cz>
Tue, 12 Aug 2008 16:19:20 +0000
(18:19 +0200)
tg-export.sh
patch
|
blob
|
history
diff --git
a/tg-export.sh
b/tg-export.sh
index 73ad2efde93508939db4e16b34cb4c9e407a127d..62361dd9b5abe721d2e5e1359df238798dcbcc54 100644
(file)
--- a/
tg-export.sh
+++ b/
tg-export.sh
@@
-190,7
+190,7
@@
recurse_deps driver "$name"
if [ "$driver" = "collapse" ]; then
- git update-ref "refs/heads/$output" "$(cat "$playground/$name")"
+ git update-ref "refs/heads/$output" "$(cat "$playground/$name")"
""
depcount="$(cat "$playground/^ticker" | wc -l)"
echo "Exported topic branch $name (total $depcount topics) to branch $output"