On Thu, Jun 2, 2016 at 1:57 AM, David Turner wrote:
>> + struct index_state istate;
>> +
>> + memset(&istate, 0, sizeof(istate));
>
>
> Why not just struct index_state istate = {0}; ?
>
My first thought was.. "hmm.. C99?" but then there are 24 of them in
the code base alre
On Thu, Jun 2, 2016 at 1:13 AM, Eric Sunshine wrote:
> On Wed, Jun 1, 2016 at 6:45 AM, Nguyễn Thái Ngọc Duy
> wrote:
>> Current mark_reachable_objects() only marks objects from index from
>> _current_ worktree as reachable instead of all worktrees. Because this
>> function is used for pruning, t
On Wed, 2016-06-01 at 17:45 +0700, Nguyễn Thái Ngọc Duy wrote:
> Current mark_reachable_objects() only marks objects from index from
> _current_ worktree as reachable instead of all worktrees. Because
> this
> function is used for pruning, there is a chance that objects
> referenced
> by other work
On Wed, Jun 1, 2016 at 6:45 AM, Nguyễn Thái Ngọc Duy wrote:
> Current mark_reachable_objects() only marks objects from index from
> _current_ worktree as reachable instead of all worktrees. Because this
> function is used for pruning, there is a chance that objects referenced
> by other worktrees
Current mark_reachable_objects() only marks objects from index from
_current_ worktree as reachable instead of all worktrees. Because this
function is used for pruning, there is a chance that objects referenced
by other worktrees may be deleted. Fix that.
Small behavior change in "one worktree" ca
5 matches
Mail list logo