summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-04-05 18:20:03 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 12:25:49 +0100
commit617ac680360b4375ee15c7895ad192a62e446e5a (patch)
tree883b2f09fefe7eb9a63e0e53f2a4d4c88dbdef4a
parent60b4f46cf0a103089163736e6fbf5b2fd62960aa (diff)
git-debrebase: abolish abbrev thing
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xgit-debrebase5
1 files changed, 0 insertions, 5 deletions
diff --git a/git-debrebase b/git-debrebase
index 8c1dba8..e000e55 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -324,14 +324,11 @@ sub walk ($$$;$$$) {
$report->($cl);
$found{$ty. ( defined($st) ? "-$st" : '' )}++;
my $p0 = $cl->{Parents}[0]{CommitId};
- $cl->{Abbrev} = lc substr $ty,0,1;
if ($ty eq 'AddPatches') {
- $cl->{Abbrev} = 'P';
$cur = $p0;
$rewrite_from_here->();
next;
} elsif ($ty eq 'Packaging') {
- $cl->{Abbrev} = 'd';
push @deb_cl, $cl;
push @processed, $cl;
$cur = $p0;
@@ -352,7 +349,6 @@ sub walk ($$$;$$$) {
$rewrite_from_here->();
next;
} elsif ($ty eq 'Pseudomerge') {
- $cl->{Abbrev} = 'M';
if (defined $pseudos_must_overwrite_this &&
!grep {
is_fast_fwd $pseudos_must_overwrite_this, $_->{CommitId}
@@ -372,7 +368,6 @@ sub walk ($$$;$$$) {
last;
} elsif ($ty eq 'DgitImportUnpatched' &&
@pseudomerges == 1) {
- $cl->{Abbrev} = 'I';
# This import has a tree which is just like a breakwater
# tree, but it has the wrong history. Its ought to have
# the previous breakwater (which dgit ought to have