Compared to 'pu'
14/26 has a fix from Jeff, about incorrectly sharing variable for
iteration. Interdiff
--- a/shallow.c
+++ b/shallow.c
@@ -188,13 +188,14 @@ struct commit_list *get_shallow_commits_by_rev_list(int
ac, const char **av,
*/
for (p = not_shallow_list; p; p = p->next) {
struct commit *c = p->item;
+ struct commit_list *parent;
if (parse_commit(c))
die("unable to parse commit %s",
oid_to_hex(&c->object.oid));
- for (p = c->parents; p; p = p->next)
- if (!(p->item->object.flags & not_shallow_flag)) {
+ for (parent = c->parents; parent; parent = parent->next)
+ if (!(parent->item->object.flags & not_shallow_flag)) {
c->object.flags |= shallow_flag;
commit_list_insert(c, &result);
break;
21/26 adds "static" (from Ramsay Jones)
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -41,7 +41,7 @@ static int max_children = 1;
static const char *depth;
static const char *deepen_since;
static const char *upload_pack;
-struct string_list deepen_not = STRING_LIST_INIT_NODUP;
+static struct string_list deepen_not = STRING_LIST_INIT_NODUP;
static struct strbuf default_rla = STRBUF_INIT;
static struct transport *gtransport;
static struct transport *gsecondary;
And 12/26 is a new one.
[01/26] remote-curl.c: convert fetch_git() to use argv_array
[02/26] transport-helper.c: refactor set_helper_option()
[03/26] upload-pack: move shallow deepen code out of receive_needs()
[04/26] upload-pack: move "shallow" sending code out of deepen()
[05/26] upload-pack: remove unused variable "backup"
[06/26] upload-pack: move "unshallow" sending code out of deepen()
[07/26] upload-pack: use skip_prefix() instead of starts_with()
[08/26] upload-pack: tighten number parsing at "deepen" lines
[09/26] upload-pack: move rev-list code out of check_non_tip()
[10/26] fetch-pack: use skip_prefix() instead of starts_with()
[11/26] fetch-pack: use a common function for verbose printing
[12/26] fetch-pack.c: mark strings for translating
[13/26] fetch-pack: use a separate flag for fetch in deepening mode
[14/26] shallow.c: implement a generic shallow boundary finder based on
rev-list
[15/26] upload-pack: add deepen-since to cut shallow repos based on time
[16/26] fetch: define shallow boundary with --shallow-since
[17/26] clone: define shallow clone boundary based on time with
--shallow-since
[18/26] t5500, t5539: tests for shallow depth since a specific date
[19/26] refs: add expand_ref()
[20/26] upload-pack: support define shallow boundary by excluding revisions
[21/26] fetch: define shallow boundary with --shallow-exclude
[22/26] clone: define shallow clone boundary with --shallow-exclude
[23/26] t5500, t5539: tests for shallow depth excluding a ref
[24/26] upload-pack: split check_unreachable() in two, prep for
get_reachable_list()
[25/26] upload-pack: add get_reachable_list()
[26/26] fetch, upload-pack: --deepen=N extends shallow boundary by N commits
Total 23 files changed, 879 insertions(+), 221 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html