chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tg import: Change default prefix from tp/ to t/
[topgit.git]
/
tg-import.sh
diff --git
a/tg-import.sh
b/tg-import.sh
index 63d7e1bb7a3ccaf2ecf0246302d59dc69708ac2a..4f5c9810d7755ea434b2451a15e87f1ae7b03acc 100644
(file)
--- a/
tg-import.sh
+++ b/
tg-import.sh
@@
-48,7
+48,7
@@
process_commit()
commit="$1"
branch_name=$(get_branch_name "$commit")
echo "Importing $commit to $branch_name"
- tg create t
p
/"$branch_name"
+ tg create t/"$branch_name"
git read-tree "$commit"
get_commit_msg "$commit" > .topmsg
git add -f .topmsg .topdeps