author | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 Jan 2010 08:49:47 +0000 (00:49 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 Jan 2010 08:49:47 +0000 (00:49 -0800) |
* maint-1.6.1:
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
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
1 | 2 | |||
---|---|---|---|---|
builtin-branch.c | patch | | diff1 | | diff2 | | blob | history |
builtin-checkout.c | patch | | diff1 | | diff2 | | blob | history |
builtin-commit.c | patch | | diff1 | | diff2 | | blob | history |
builtin-count-objects.c | patch | | diff1 | | diff2 | | blob | history |
diff.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc builtin-branch.c
Simple merge
diff --cc builtin-checkout.c
Simple merge
diff --cc builtin-commit.c
Simple merge
diff --cc builtin-count-objects.c
Simple merge
diff --cc diff.c
index 4f980aded6aa0f61b0a6354b0157b8711a2c4627,69147b802f73203ab27352ac1b3513138fa50417..9ec5767709898af88d83256c6ea98d74863042d8
+++ b/diff.c
if (start_command(&child) != 0 ||
strbuf_read(&buf, child.out, 0) < 0 ||
finish_command(&child) != 0) {
- if (temp.name == temp.tmp_path)
- unlink(temp.name);
+ close(child.out);
+ remove_tempfile();
error("error running textconv command '%s'", pgm);
return NULL;
}
- if (temp.name == temp.tmp_path)
- unlink(temp.name);
+ close(child.out);
+ remove_tempfile();
return strbuf_detach(&buf, outsize);
}