Re: [PATCH] builtin-clone: fix for new unpack_trees() semantics

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Barkalow
Date: Sunday, March 9, 2008 - 4:02 pm

On Sun, 9 Mar 2008, Johannes Schindelin wrote:


I'm thinking:

  memset(&opts, 0, sizeof opts);
  opts.update = 1;
  opts.verbose_update = !option_quiet;
  opts.dst_index = &the_index;

  init_tree_desc(&t[0], tree->buffer, tree->size);
  unpack_trees(1, t, &opts);

That is, write it, but not read it, and only have one tree.

	-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 10/11] Build in clone, Daniel Barkalow, (Sat Mar 8, 4:04 pm)
[PATCH] builtin-clone: fix for new unpack_trees() semantics, Johannes Schindelin, (Sun Mar 9, 2:30 pm)
Re: [PATCH] builtin-clone: fix for new unpack_trees() sema ..., Johannes Schindelin, (Sun Mar 9, 3:55 pm)
Re: [PATCH] builtin-clone: fix for new unpack_trees() sema ..., Daniel Barkalow, (Sun Mar 9, 4:02 pm)
Re: [PATCH] builtin-clone: fix for new unpack_trees() sema ..., Johannes Schindelin, (Sun Mar 9, 4:05 pm)
Re: [PATCH] builtin-clone: fix for new unpack_trees() sema ..., Johannes Schindelin, (Mon Mar 10, 3:58 am)