Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs
- Date: Tue, 12 Aug 2008 14:26:52 -0400 (EDT)
- From: Nicolas Pitre <nico@xxxxxxx>
- Subject: Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs
On Tue, 12 Aug 2008, Shawn O. Pearce wrote: > Nicolas Pitre <nico@xxxxxxx> wrote: > > On Tue, 12 Aug 2008, Shawn O. Pearce wrote: > > > +# Clone patch_clone indirectly by cloning base and fetching. > > > +# > > > +test_expect_success \ > > > + 'indirectly clone patch_clone' \ > > > + '(mkdir user_clone && > > > + cd user_clone && > > > + git init && > > > + git pull ../.git && > > > + test $(git rev-parse HEAD) = $B > > > + > > > + git pull ../patch_clone/.git && > > > + test $(git rev-parse HEAD) = $C > > > + ) > > > + ' > > > > What if the first test command fails? Won't its result be ignored? > > Isn't the exit status of the subshell the exit status of the last > command in the subshell? I'm not talking about the last command but the "test $(git rev-parse HEAD) = $B" line. Nicolas -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- [PATCH v2] pack-objects: Allow missing base objects when creating thin packs
- From: Shawn O. Pearce
- [PATCH v2] pack-objects: Allow missing base objects when creating thin packs
- References:
- RFC: Allow missing objects during packing
- From: Shawn O. Pearce
- Re: RFC: Allow missing objects during packing
- From: Junio C Hamano
- Re: RFC: Allow missing objects during packing
- From: Shawn O. Pearce
- Re: RFC: Allow missing objects during packing
- From: Shawn O. Pearce
- Re: RFC: Allow missing objects during packing
- From: Nicolas Pitre
- [PATCH] pack-objects: Allow missing base objects when creating thin packs
- From: Shawn O. Pearce
- Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs
- From: Nicolas Pitre
- Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs
- From: Shawn O. Pearce
- RFC: Allow missing objects during packing
- Prev by Date: [TopGit PATCH/RFC fixup] suppress "cannot overwrite existing file" error
- Next by Date: [PATCH v2] pack-objects: Allow missing base objects when creating thin packs
- Previous by thread: Re: [PATCH] pack-objects: Allow missing base objects when creating thin packs
- Next by thread: [PATCH v2] pack-objects: Allow missing base objects when creating thin packs
- Index(es):