about summary refs log tree commit homepage
path: root/lib/PublicInbox/Git.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-03-04 02:15:29 +0000
committerEric Wong <e@80x24.org>2017-03-04 02:15:29 +0000
commitd78b17adabb1880857c67fda40be0c47fe9d1866 (patch)
treeb514ed019ef323e0cb09eaff130e512d5de89082 /lib/PublicInbox/Git.pm
parent10f315b0f25cc8141ddfd9c03c58db65ca5652b5 (diff)
downloadpublic-inbox-d78b17adabb1880857c67fda40be0c47fe9d1866.tar.gz
Ending up with potentially ambiguous identifiers in the
future is not worth saving some bytes, in this case.
Diffstat (limited to 'lib/PublicInbox/Git.pm')
-rw-r--r--lib/PublicInbox/Git.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm
index aba4616e..6a7b109f 100644
--- a/lib/PublicInbox/Git.pm
+++ b/lib/PublicInbox/Git.pm
@@ -18,11 +18,6 @@ my $have_async = eval {
         require PublicInbox::GitAsync;
 };
 
-# Documentation/SubmittingPatches recommends 12 (Linux v4.4)
-my $abbrev = `git config core.abbrev` || 12;
-
-sub abbrev { "--abbrev=$abbrev" }
-
 sub new {
         my ($class, $git_dir) = @_;
         bless { git_dir => $git_dir }, $class