X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-push.sh;h=a928fba8e9e93a522f966004bea28c0c6fc1fe07;hb=refs%2Fheads%2Fi%2Fbasis-merge;hp=199d7389b48ea4563ac2217022f410b2aebf4d4b;hpb=7c445490c8d9d535f559e9bbc105425e01b0785d;p=topgit.git diff --git a/tg-push.sh b/tg-push.sh index 199d738..a928fba 100644 --- a/tg-push.sh +++ b/tg-push.sh @@ -45,8 +45,7 @@ for name in $branches; do ref_exists "$name" || die "detached HEAD? Can't push $name" done -_listfile="$(mktemp -t tg-push-listfile.XXXXXX)" -trap "rm -f \"$_listfile\"" 0 +_listfile="$(get_temp tg-push-listfile)" push_branch() {