~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
StGit: export: fix base commit reporting in series file
[stgit]
/
stgit
/
commands
/
export.py
diff --git
a/stgit/commands/export.py
b/stgit/commands/export.py
index
4285612
..
a661a7d
100644
(file)
--- a/
stgit/commands/export.py
+++ b/
stgit/commands/export.py
@@
-115,7
+115,7
@@
def func(parser, options, args):
# note the base commit for this series
if not options.stdout:
- base_commit = stack.
patches.get(patches[0]).commit
.sha1
+ base_commit = stack.
base
.sha1
print >> series, '# This series applies on GIT commit %s' % base_commit
patch_no = 1;