/usr/libexec/git-core/git-submodule: line 153: 15599 Broken pipe: 13 ( git ls-files -z --error-unmatch --stage -- "$@" || echo "unmatched pathspec exists" )
15600 Killed: 9 | /usr/bin/perl -e '
my %unmerged = ();
my ($null_sha1) = ("0" x 40);
my @[member=Out] = ();
my $unmatched = 0;
$/ = "\0";
while (<STDIN>) {
if (/^unmatched pathspec/) {
$unmatched = 1;
next;
}
chomp;
my ($mode, $sha1, $stage, $path) =
/^([0-7]+) ([0-9a-f]{40}) ([0-3])\t(.*)$/;
next unless $mode eq "160000";
if ($stage ne "0") {
if (!$unmerged{$path}++) {
push @[member=Out], "$mode $null_sha1 U\t$path\n";
}
next;
}
push @[member=Out], "$_\n";
}
if ($unmatched) {
print "#unmatched\n";
} else {
print for (@[member=Out]);
}
'
/usr/libexec/git-core/git-submodule: line 153: 15605 Broken pipe: 13 ( git ls-files -z --error-unmatch --stage -- "$@" || echo "unmatched pathspec exists" )
15606 Killed: 9 | /usr/bin/perl -e '
my %unmerged = ();
my ($null_sha1) = ("0" x 40);
my @[member=Out] = ();
my $unmatched = 0;
$/ = "\0";
while (<STDIN>) {
if (/^unmatched pathspec/) {
$unmatched = 1;
next;
}
chomp;
my ($mode, $sha1, $stage, $path) =
/^([0-7]+) ([0-9a-f]{40}) ([0-3])\t(.*)$/;
next unless $mode eq "160000";
if ($stage ne "0") {
if (!$unmerged{$path}++) {
push @[member=Out], "$mode $null_sha1 U\t$path\n";
}
next;
}
push @[member=Out], "$_\n";
}
if ($unmatched) {
print "#unmatched\n";
} else {
print for (@[member=Out]);
}
'
ldid 1.2.1, iOS 9