chiark / gitweb /
tg-create.sh: Pre-fill [PATCH] line with patch name
authorPetr Baudis <pasky@suse.cz>
Tue, 5 Aug 2008 22:18:59 +0000 (00:18 +0200)
committerPetr Baudis <pasky@suse.cz>
Tue, 5 Aug 2008 22:18:59 +0000 (00:18 +0200)
tg-create.sh

index 68c3fdd..6cce7ed 100644 (file)
@@ -108,7 +108,7 @@ author_addr="${author%> *}>"
        ! header="$(git config topgit.cc)" || echo "Cc: $header"
        ! header="$(git config topgit.bcc)" || echo "Bcc: $header"
        ! subject_prefix="$(git config topgit.subjectprefix)" || subject_prefix="$subject_prefix "
-       echo "Subject: [${subject_prefix}PATCH] $1"
+       echo "Subject: [${subject_prefix}PATCH] $name"
        echo
        cat <<EOT
 <patch description>