X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-push.sh;h=a928fba8e9e93a522f966004bea28c0c6fc1fe07;hb=d245df905914a60e55540b7481becabf70d345d4;hp=199d7389b48ea4563ac2217022f410b2aebf4d4b;hpb=74e952f9771c8116100451a7eb177c663cf9c43b;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() {