Re: [RFC] Build in clone

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johan Herland
Date: Tuesday, February 26, 2008 - 6:37 am

On Tuesday 26 February 2008, Johan Herland wrote:

...and the corruption is done when setup_tmp_ref() calls write_ref_sha1()
which calls invalidate_cached_refs() (which frees the ref_list that
do_for_each_ref() is iterating over).

Not sure how to best solve this. Maybe setup_tmp_ref() shouldn't use
write_ref_sha1(), but write the ref file directly instead, as hinted
at in a comment in setup_tmp_ref()?


...Johan

-- 
Johan Herland, <johan@herland.net>
www.herland.net
-
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:
[RFC] Build in clone, Daniel Barkalow, (Mon Feb 25, 2:12 pm)
Re: [RFC] Build in clone, Johan Herland, (Mon Feb 25, 7:21 pm)
Re: [RFC] Build in clone, Johannes Schindelin, (Tue Feb 26, 4:14 am)
Re: [RFC] Build in clone, Johan Herland, (Tue Feb 26, 5:19 am)
Re: [RFC] Build in clone, Johan Herland, (Tue Feb 26, 5:58 am)
Re: [RFC] Build in clone, Johan Herland, (Tue Feb 26, 6:37 am)
Re: [PATCH] Fix premature free of ref_lists while writing ..., Johannes Schindelin, (Tue Feb 26, 8:42 am)
Re: [PATCH] Fix premature call to git_config() causing t10 ..., Johannes Schindelin, (Tue Feb 26, 8:47 am)
Re: [RFC] Build in clone, Daniel Barkalow, (Tue Feb 26, 10:36 am)
Re: [RFC] Build in clone, Kristian , (Tue Feb 26, 11:53 am)
Re: [PATCH] Fix premature call to git_config() causing t10 ..., Johannes Schindelin, (Tue Feb 26, 3:40 pm)
[PATCH] builtin-clone: create remotes/origin/HEAD symref, ..., Johannes Schindelin, (Sat Mar 1, 10:57 pm)
[PATCH, fixed] builtin-clone: create remotes/origin/HEAD s ..., Johannes Schindelin, (Sat Mar 1, 11:25 pm)
[PATCH] builtin clone: support bundles, Johannes Schindelin, (Sun Mar 2, 12:46 am)
Re: [PATCH] builtin clone: support bundles, Daniel Barkalow, (Sun Mar 2, 9:19 am)
Re: [PATCH] builtin clone: support bundles, Daniel Barkalow, (Sun Mar 2, 9:48 am)
Re: [PATCH] builtin clone: support bundles, Johannes Schindelin, (Sun Mar 2, 10:34 am)
Re: [PATCH] builtin clone: support bundles, Junio C Hamano, (Sun Mar 2, 10:50 am)
Re: [PATCH] builtin clone: support bundles, Junio C Hamano, (Sun Mar 2, 10:54 am)
Re: [PATCH] builtin clone: support bundles, Santi Béjar, (Sun Mar 2, 5:04 pm)
Re: [PATCH, fixed] builtin-clone: create remotes/origin/HE ..., Johannes Schindelin, (Mon Mar 3, 10:10 am)
Re: [PATCH, fixed] builtin-clone: create remotes/origin/HE ..., Johannes Schindelin, (Mon Mar 3, 12:55 pm)