summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-11-07 18:07:07 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-07 18:07:07 -0800
commitbd6ba4d28bf75b0857b3c81aa8bca8e454d9e79e (patch)
treed3b4b2163d6be4e4dd8aade29ba85a9480dccd8a /perl
parentMerge branch 'mh/work-tree' (diff)
parentAdd Documentation/CodingGuidelines (diff)
downloadtgif-bd6ba4d28bf75b0857b3c81aa8bca8e454d9e79e.tar.xz
Merge branch 'maint'
* maint: Add Documentation/CodingGuidelines When exec() fails include the failing command in the error message RelNotes-1.5.3.5: fix another typo
Diffstat (limited to 'perl')
-rw-r--r--perl/Git.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git.pm b/perl/Git.pm
index 3f4080cbf8..dca92c8adb 100644
--- a/perl/Git.pm
+++ b/perl/Git.pm
@@ -812,7 +812,7 @@ sub _cmd_exec {
$self->wc_subdir() and chdir($self->wc_subdir());
}
_execv_git_cmd(@args);
- die "exec failed: $!";
+ die qq[exec "@args" failed: $!];
}
# Execute the given Git command ($_[0]) with arguments ($_[1..])