diff options
author | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2010-11-21 17:57:06 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@gmail.com> | 2010-11-24 16:57:20 +0000 |
commit | fa3f66e9cd4a7e0f019f226c37e4ab377269abc3 (patch) | |
tree | 2e9c4926089c6a0eefb100555786ea9156023a45 | |
parent | 0e84c57c4a9d3a198caa4ae2da2a6670e57ad917 (diff) | |
download | stgit-fa3f66e9cd4a7e0f019f226c37e4ab377269abc3.tar.gz |
StGit: export: fix base commit reporting in series file
This bug was introduced in 3f19450c426970b78b19c522a82df1a962da5761
It should report the commit stg stack is based on, but not the
last patch in stack.
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
-rw-r--r-- | stgit/commands/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stgit/commands/export.py b/stgit/commands/export.py index 4285612..a661a7d 100644 --- 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; |