chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5a36c0
)
tg import: Make the progress reporting stand out more
author
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:37:41 +0000
(
00:37
+0200)
committer
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 22:37:41 +0000
(
00:37
+0200)
tg-import.sh
patch
|
blob
|
history
diff --git
a/tg-import.sh
b/tg-import.sh
index cdc0969efdc8bcab2a07b4def8c878a42287b8fc..6a4f79ea27e0116814c271b03046a3f2eb874da4 100644
(file)
--- a/
tg-import.sh
+++ b/
tg-import.sh
@@
-50,12
+50,13
@@
process_commit()
{
commit="$1"
branch_name=$(get_branch_name "$commit")
{
commit="$1"
branch_name=$(get_branch_name "$commit")
- info "Importing $commit to $branch_prefix$branch_name"
+ info "
----
Importing $commit to $branch_prefix$branch_name"
tg create "$branch_prefix""$branch_name"
git read-tree "$commit"
get_commit_msg "$commit" > .topmsg
git add -f .topmsg .topdeps
git commit -C "$commit"
tg create "$branch_prefix""$branch_name"
git read-tree "$commit"
get_commit_msg "$commit" > .topmsg
git add -f .topmsg .topdeps
git commit -C "$commit"
+ info "++++ Importing $commit finished"
}
# nice arg verification stolen from git-format-patch.sh
}
# nice arg verification stolen from git-format-patch.sh