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:
@ -278,7 +278,7 @@ sub cmd_dcommit {
|
|||||||
my $head = shift;
|
my $head = shift;
|
||||||
$head ||= 'HEAD';
|
$head ||= 'HEAD';
|
||||||
my ($url, $rev, $uuid);
|
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 @refs;
|
||||||
my $c;
|
my $c;
|
||||||
while (<$fh>) {
|
while (<$fh>) {
|
||||||
|
Reference in New Issue
Block a user