Re: builtin-fetch code with messy history
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:17
Hi, On Tue, 19 Jun 2007, Alex Riesen wrote:
On 6/19/07, Johannes Schindelin [off-list ref] wrote:quoted
quoted
quoted
Maybe this is the right time to cut off branches/* and remotes/*?Seconded. Don't use the remotes/ since some months now. But... isn't a git package with code of something like 1.4.4 is still in some major distributions?Yes, AFAICT it is Ubuntu "the most up-to-date distro there is". At least many questions on the list and in IRC suggest that. So, how about checking (at least for a year) in builtin-fetch, if "branches/" or "remotes/" exist, and fail, with a nice message how to move to config-based remotes?...by suggesting to use a nice conversion script which we don't have.
git.git/contrib/remotes2config.sh IIRC it was explicitely asked to leave branches/* out of that script, but the original version had it, and it should be easy to include it again.
BTW, as far as I can see, git-remote reads old configuration just fine, so it probably will a very simple script: read all and write all. Well, the "all" part of it can be a bit complicated, but aside from that...
Ciao, Dscho