diff options
| author | Jeff King <peff@peff.net> | 2016-08-03 19:00:32 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-08-05 09:28:16 -0700 |
| commit | 3b0c3ab777d7d1fc2fbfaba9ec8ce4d845428d99 (patch) | |
| tree | a93171ffd2f8e03bccc38642b562f7f316c735e3 /builtin/commit.c | |
| parent | trace: cosmetic fixes for error messages (diff) | |
| download | git-3b0c3ab777d7d1fc2fbfaba9ec8ce4d845428d99.tar.gz git-3b0c3ab777d7d1fc2fbfaba9ec8ce4d845428d99.zip | |
trace: correct variable name in write() error message
Our error message for write() always mentions GIT_TRACE,
even though we may be writing for a different variable
entirely. It's also not quite accurate to say "fd given by
GIT_TRACE environment variable", as we may hit this error
based on a filename the user put in the variable (we do
complain and switch to stderr if the file cannot be opened,
but it's still possible to hit a write() error on the
descriptor later).
So let's fix those things, and switch to our more usual
"unable to do X: Y" format for the error.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
