summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlorry.zip-importer7
1 files changed, 4 insertions, 3 deletions
diff --git a/lorry.zip-importer b/lorry.zip-importer
index c177d43..d2d5493 100755
--- a/lorry.zip-importer
+++ b/lorry.zip-importer
@@ -26,8 +26,8 @@ if len(argv) < 2:
branch_name = 'master'
branch_ref = 'refs/heads/%s' % branch_name
-committer_name = 'Z Ip Creator'
-committer_email = 'zip@example.com'
+committer_name = 'Lorry Zip Importer'
+committer_email = 'lorry-zip-importer@lorry'
fast_import = popen('git fast-import --quiet', 'w')
def printlines(list):
@@ -65,8 +65,9 @@ for zipfile in argv[1:]:
committer = committer_name + ' <' + committer_email + '> %d +0000' % \
mktime(commit_time + (0, 0, 0))
+ zipfile_basename = path.basename(zipfile)
printlines(('commit ' + branch_ref, 'committer ' + committer, \
- 'data <<EOM', 'Imported from ' + zipfile + '.', 'EOM', \
+ 'data <<EOM', 'Imported from ' + zipfile_basename + '.', 'EOM', \
'', 'deleteall'))
for name in mark.keys():