diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-18 21:29:47 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-18 21:29:47 -0800 |
commit | 011c181cc656c8b3e48882729d1b6238e8c5c537 (patch) | |
tree | 4f4a1c516c474ed6ff0327f852e783d0efa53667 /diff.c | |
parent | ba7e81430a32614982172c7064c01db43f55b4bb (diff) | |
parent | c5034673fd92b6278e6c9d55683770ec01fafc89 (diff) | |
download | git-011c181cc656c8b3e48882729d1b6238e8c5c537.tar.gz |
Merge branch 'maint-1.6.2' into maint-1.6.3
* maint-1.6.2:
base85: Make the code more obvious instead of explaining the non-obvious
base85: encode_85() does not use the decode table
base85 debug code: Fix length byte calculation
checkout -m: do not try to fall back to --merge from an unborn branch
branch: die explicitly why when calling "git branch [-a|-r] branchname".
textconv: stop leaking file descriptors
commit: --cleanup is a message option
git count-objects: handle packs bigger than 4G
t7102: make the test fail if one of its check fails
Conflicts:
diff.c
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3590,11 +3590,13 @@ static char *run_textconv(const char *pgm, struct diff_filespec *spec, if (start_command(&child) != 0 || strbuf_read(&buf, child.out, 0) < 0 || finish_command(&child) != 0) { + close(child.out); strbuf_release(&buf); remove_tempfile(); error("error running textconv command '%s'", pgm); return NULL; } + close(child.out); remove_tempfile(); return strbuf_detach(&buf, outsize); |