chiark / gitweb /
tg import: Change default prefix from tp/ to t/
authorPetr Baudis <pasky@suse.cz>
Tue, 9 Sep 2008 22:06:44 +0000 (00:06 +0200)
committerPetr Baudis <pasky@suse.cz>
Tue, 9 Sep 2008 22:06:44 +0000 (00:06 +0200)
README
tg-import.sh

diff --git a/README b/README
index c6b4cb95dcfa437827cfbf4babaf5c4c3af7492b..f380475436a6bd1f116fd193aa1aafbac8aa3f0a 100644 (file)
--- a/README
+++ b/README
@@ -359,7 +359,7 @@ tg import
        a linear sequence starting on your current branch.
 
        The branch names are auto-guessed from the commit messages
-       and prefixed by tp/.
+       and prefixed by t/.
 
 tg update
 ~~~~~~~~~
index 63d7e1bb7a3ccaf2ecf0246302d59dc69708ac2a..4f5c9810d7755ea434b2451a15e87f1ae7b03acc 100644 (file)
@@ -48,7 +48,7 @@ process_commit()
        commit="$1"
        branch_name=$(get_branch_name "$commit")
        echo "Importing $commit to $branch_name"
-       tg create tp/"$branch_name"
+       tg create t/"$branch_name"
        git read-tree "$commit"
        get_commit_msg "$commit" > .topmsg
        git add -f .topmsg .topdeps