Re: [PATCH] fsck: Don't require tmp_obj_ file names are 14 bytes in length
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 27, 2008, 04:15 UTC
- Message-ID
- <7vwsj83quc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080727023300.GB17425@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 7 quoted lines
> Brandon Casey <casey@nrlssc.navy.mil> wrote: > > Since 5723fe7e, temporary objects are now created in their final destination > > directories, rather than in .git/objects/. Teach fsck to recognize and > > ignore the temporary objects it encounters, and teach prune to remove them. > > jgit can't exactly follow the 14 character naming rule. > This should be a safe way around it.
More importantly, we might want to change the temporary filename to ensure that it is 38 bytes in length in the future (cf. $gmane/85106).