author | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Nov 2007 11:37:18 +0000 (03:37 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Nov 2007 11:37:18 +0000 (03:37 -0800) |
* maint:
git-clean: honor core.excludesfile
Documentation: Fix man page breakage with DocBook XSL v1.72
git-remote.txt: fix typo
core-tutorial.txt: Fix argument mistake in an example.
replace reference to git-rm with git-reset in git-commit doc
Grammar fixes for gitattributes documentation
Don't allow fast-import tree delta chains to exceed maximum depth
revert/cherry-pick: allow starting from dirty work tree.
t/t3404: fix test for a bogus todo file.
Conflicts:
fast-import.c
git-clean: honor core.excludesfile
Documentation: Fix man page breakage with DocBook XSL v1.72
git-remote.txt: fix typo
core-tutorial.txt: Fix argument mistake in an example.
replace reference to git-rm with git-reset in git-commit doc
Grammar fixes for gitattributes documentation
Don't allow fast-import tree delta chains to exceed maximum depth
revert/cherry-pick: allow starting from dirty work tree.
t/t3404: fix test for a bogus todo file.
Conflicts:
fast-import.c
1 | 2 | |||
---|---|---|---|---|
Documentation/core-tutorial.txt | patch | | diff1 | | diff2 | | blob | history |
Documentation/git-add.txt | patch | | diff1 | | diff2 | | blob | history |
Documentation/git-remote.txt | patch | | diff1 | | diff2 | | blob | history |
Documentation/gitattributes.txt | patch | | diff1 | | diff2 | | blob | history |
Makefile | patch | | diff1 | | diff2 | | blob | history |
builtin-revert.c | patch | | diff1 | | diff2 | | blob | history |
fast-import.c | patch | | diff1 | | diff2 | | blob | history |
git-clean.sh | patch | | diff1 | | diff2 | | blob | history |
t/t3404-rebase-interactive.sh | patch | | diff1 | | diff2 | | blob | history |
t/t7300-clean.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/core-tutorial.txt
Simple merge
diff --cc Documentation/git-add.txt
Simple merge
diff --cc Documentation/git-remote.txt
Simple merge
diff --cc Documentation/gitattributes.txt
Simple merge
diff --cc Makefile
Simple merge
diff --cc builtin-revert.c
Simple merge
diff --cc fast-import.c
index f93d7d6c9bf2db021ceb65766da87af32aecc1d1,5e83296bf49f9b41b019185539cbd4ec1bf94513..98c2bd535957a45e5ef189875859d4788d937e7e
--- 1/fast-import.c
--- 2/fast-import.c
+++ b/fast-import.c
write_or_die(pack_data->pack_fd, hdr + pos, sizeof(hdr) - pos);
pack_size += sizeof(hdr) - pos;
} else {
- if (last)
- last->depth = 0;
+ e->depth = 0;
- hdrlen = encode_header(type, datlen, hdr);
+ hdrlen = encode_header(type, dat->len, hdr);
write_or_die(pack_data->pack_fd, hdr, hdrlen);
pack_size += hdrlen;
}
free(out);
free(delta);
if (last) {
- if (!last->no_free)
- free(last->data);
- last->data = dat;
+ if (last->no_swap) {
+ last->data = *dat;
+ } else {
+ strbuf_swap(&last->data, dat);
+ }
last->offset = e->offset;
- last->len = datlen;
+ last->depth = e->depth;
}
return 0;
}
diff --cc git-clean.sh
Simple merge
diff --cc t/t3404-rebase-interactive.sh
Simple merge
diff --cc t/t7300-clean.sh
Simple merge