summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2008-06-16 10:53:36 (GMT)
committerSteve Frécinaux <code@istique.net>2008-06-16 10:53:36 (GMT)
commit99895bf4fd535e6a9d2ede93080f19930e5dfa55 (patch)
tree9090fa012294c816e69d05ffe9e4f6e630f62846
parent8ac7a5690f3cac2a92f6d6f02aa3d8d4b9849d6e (diff)
downloadgit-bugzilla-99895bf4fd535e6a9d2ede93080f19930e5dfa55.tar.gz
git-bugzilla-99895bf4fd535e6a9d2ede93080f19930e5dfa55.tar.xz
Fix previous commit.
Sed was a bit quick on some changes.
-rwxr-xr-xgit-send-bugzilla.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-send-bugzilla.pl b/git-send-bugzilla.pl
index daaff57..976d926 100755
--- a/git-send-bugzilla.pl
+++ b/git-send-bugzilla.pl
@@ -156,7 +156,7 @@ my $bugid = shift @ARGV
# Get revisions to build patch from. Do the same way git-format-patch does.
my @revisions;
-open REVPARSE, '-|', 'git rev-parse', ('--revs-only', @ARGV)
+open REVPARSE, '-|', 'git', 'rev-parse', ('--revs-only', @ARGV)
or die "Cannot call git rev-parse: $!";
chop (@revisions = <REVPARSE>);
close REVPARSE;
@@ -171,7 +171,7 @@ if (@revisions eq 0) {
if (!$squash) {
# Get revision list
- open REVLIST, '-|', "git rev-list", @revisions
+ open REVLIST, '-|', 'git', 'rev-list', @revisions
or die "Cannot call git rev-list: $!";
chop (@revisions = reverse <REVLIST>);
close REVLIST;