diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2012-07-29 16:25:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-29 17:39:56 -0700 |
commit | 51f4de3ac993b52c8a2fab9ca3acc665fca2d833 (patch) | |
tree | 3b6f4d82a27d273b29b83b9e08d3b3fdbcf869e1 /Documentation | |
parent | cherry: don't set ignored rev_info options (diff) | |
download | tgif-51f4de3ac993b52c8a2fab9ca3acc665fca2d833.tar.xz |
cherry: remove redundant check for merge commit
While walking the revision list in get_patch_ids and cmd_cherry, we
check for each commit if there is more than one parent and ignore
the commit if that is the case. Instead, set rev_info.max_parents to
1 and let the revision traversal code handle it for us.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions