From: Shawn Pearce Date: Fri, 17 Nov 2006 16:58:49 GMT Subject: Re: Cleaning up git user-interface warts Message-ID: <20061117165849.GC32597@spearce.org> In-Reply-To: Johannes Schindelin wrote: > I introduced the remote..{url,fetch,push} entries into the config > with the goal to enhance -fetch to remember the current command line with > a setting. I was the only one to find that useful. > > BTW I still would argue that it is better to write the remote information > into the config, because you have a saner way to manipulate that from > scripts than .git/remotes/. I'm *fully* in favor of the remote..{url,fetch,push} entries in the config file. I've pretty much switched every repository to that format at this point. In writing git-gui I'm finding it much, much easier to manage things through repo-config than to do any mucking around in the .git/remotes directory. Yes, the remote files have simple format, but I can get everything in one "git repo-config --list" pull it all into a Tcl array and work with it; using .git/remotes means I have to open the file and read each line too. :-( --