Re: [PATCH] am: terminate state files with a newline
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Aug 23, 2015, 12:30 UTC
- Message-ID
- <20150823143055.Horde.3dpHsKGqU554G1p_Uz_Iiw1@webmail.informatik.kit.edu>
- In-Reply-To
- <20150823055053.GA15849@yoshi.chippynet.com>
Hi,
Quoting Paul Tan <pyokagan@gmail.com>:
> Did we ever explictly allow external programs to poke around the > contents of the .git/rebase-apply directory? I think it may not be so > good, as it means that it may not be possible to switch the storage > format in the future (e.g. to allow atomic modifications, maybe?) :-/ .
Think of e.g. libgit2, JGit/EGit and all the other git implementations. They should be able to look everywhere in .git, shouldn't they?
I don't think we will just "switch" the storage format of any parts of the repo. Whatever new formats may come (ref backends, index v5, pack v4), they will be an opt-in feature for a long time before becoming default, and there must be an even longer deprecation period before the old format gets phased out, if ever.
Gábor