Use git-log rather than the shell, git-rev-list, and git-diff-tree.
Patch by Jamey Sharp <jamey@minilop.net>.master
parent
ee0a1c9422
commit
7144514b93
|
@ -256,8 +256,7 @@ sub git_commit_info ($;$) { #{{{
|
||||||
$num ||= 1;
|
$num ||= 1;
|
||||||
|
|
||||||
my @raw_lines =
|
my @raw_lines =
|
||||||
run_or_die(qq{git-rev-list --max-count=$num $sha1 |
|
run_or_die('git-log', "--max-count=$num", '--pretty=raw', '--raw', '--abbrev=40', '--always', '-M', '-m', '-r', $sha1);
|
||||||
git-diff-tree --stdin --pretty=raw --always -M -m -r});
|
|
||||||
|
|
||||||
my @ci;
|
my @ci;
|
||||||
while (my $parsed = _parse_diff_tree(\@raw_lines)) {
|
while (my $parsed = _parse_diff_tree(\@raw_lines)) {
|
||||||
|
|
Loading…
Reference in New Issue