diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-07 18:07:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-07 18:07:07 -0800 |
commit | bd6ba4d28bf75b0857b3c81aa8bca8e454d9e79e (patch) | |
tree | d3b4b2163d6be4e4dd8aade29ba85a9480dccd8a /perl/Git.pm | |
parent | Merge branch 'mh/work-tree' (diff) | |
parent | Add Documentation/CodingGuidelines (diff) | |
download | tgif-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/Git.pm')
-rw-r--r-- | perl/Git.pm | 2 |
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..]) |