about summary refs log tree commit homepage
path: root/lib/PublicInbox/SolverGit.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-18 05:27:51 +0000
committerEric Wong <e@80x24.org>2019-01-19 03:34:54 +0000
commitafd27ef5d80792091de97363c563679880083d54 (patch)
tree14578572dfa2b4956524f632720879a9637a4212 /lib/PublicInbox/SolverGit.pm
parentc8a4111320aaed484deecbbc7d1f63f38f3dc57b (diff)
downloadpublic-inbox-afd27ef5d80792091de97363c563679880083d54.tar.gz
This will be useful for disambiguating short OIDs in older
emails when abbreviations were shorter.

Tested against the following script with /path/to/git.git
==> t.perl <==
use strict;
use PublicInbox::Git;
use Data::Dumper;
my $dir = shift or die "Usage: $0 GIT_DIR # (of git.git)";
my $git = PublicInbox::Git->new($dir);
my @res = $git->check('dead');
print Dumper({res => \@res, err=> $git->last_check_err});
@res = $git->check('5335669531d83d7d6c905bcfca9b5f8e182dc4d4');
print Dumper({res => \@res, err=> $git->last_check_err});
Diffstat (limited to 'lib/PublicInbox/SolverGit.pm')
0 files changed, 0 insertions, 0 deletions