diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-10-30 10:42:40 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-10-30 10:42:40 +0100 |
commit | 97a39008b063b116e12688cc8615ce9a9a9ae195 (patch) | |
tree | 2d125345f2fad0f388fd0f4283f863c6fd94d0a9 | |
parent | 8ae937be56bf9fe271596dc2e75cf57643b2056a (diff) | |
download | scripts-97a39008b063b116e12688cc8615ce9a9a9ae195.tar.gz |
git-gerrit-diff: always add separator between commits
Fixes missing newline between the two different changesets (not merged
in X, not merged in Y).
-rwxr-xr-x | git-gerrit-diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gerrit-diff b/git-gerrit-diff index c668bab..29d9ca0 100755 --- a/git-gerrit-diff +++ b/git-gerrit-diff @@ -134,7 +134,7 @@ def get_commits(commit_range, git_options, git_paths): if block: if not commit_hash: raise KeyError("Cannot find commit ID") - yield commit_hash, block + yield commit_hash, block + "\n" def get_change_id(commit, identifier): text = strip_color(commit) |