mirror of
https://github.com/git/git.git
synced 2025-03-19 05:28:57 +00:00
git-svn: include merges when calling rev-list for decommit
Merge commits can be created when following certain parents, (most notably 'R' cases) and we definitely don't want to exclude them. Signed-off-by: Eric Wong <normalperson@yhbt.net>
This commit is contained in:
parent
a8ae26235c
commit
ce207c7ad1
@ -278,7 +278,7 @@ sub cmd_dcommit {
|
||||
my $head = shift;
|
||||
$head ||= 'HEAD';
|
||||
my ($url, $rev, $uuid);
|
||||
my ($fh, $ctx) = command_output_pipe(qw/rev-list --no-merges/, $head);
|
||||
my ($fh, $ctx) = command_output_pipe('rev-list', $head);
|
||||
my @refs;
|
||||
my $c;
|
||||
while (<$fh>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user