diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-11-14 13:45:52 +0100 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-11-14 13:46:35 +0100 |
commit | a328fa2711d8361de15fb31f1fc434bf47c44d51 (patch) | |
tree | c0c435c3693f92dce0b79578022e01220369157e /git-dch | |
parent | 8b8c1372ec7564a6e603dcf54554f246671a422c (diff) |
fix off by one
introduced by not counting first_commit when creating a new header
Diffstat (limited to 'git-dch')
-rwxr-xr-x | git-dch | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -249,6 +249,7 @@ def main(argv): changelog = 'debian/changelog' until = 'HEAD' found_snapshot_header = False + first_commit = None parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix='', usage='%prog [options] paths') @@ -359,7 +360,7 @@ def main(argv): if commits: shortlog_to_dch(repo, commits, options) fixup_trailer() - else: + elif not first_commit: print "No changes detected from %s to %s." % (since, until) if options.release: |