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