Re: What's cooking in git.git (topics)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kristian
Date: Tuesday, July 1, 2008 - 8:44 am

On Mon, 2008-06-30 at 15:15 -0700, Junio C Hamano wrote:

Yeah, that's one reason, my main problem with .git/branches is that for
a user that wants to learn about git and peeks into .git it's pretty
confusing.  "I wonder where and how git stores the information about
branches... oh look, .git/branches, that must it... hmm, wait no..."
Git is still getting a lot of bad-mouthing for being hard to learn and
inconsitent.  I think it makes sense to push git towards consistency and
simplicity (where is doesn't affect the flexibility) and this seemed
like a tiny step towards that.  As Dscho mentioned we have two other
ways of accomplishing what .git/branches did, so maybe it makes sense to
retire this one?


We could just change the documentation to ask the user to create
the .git/branches directory if they want to use that feature.


Yeah... I have to confess, that when I suggested removing it, I was
under the impression that git didn't use .git/branches, but only created
it to be nice to cogito.  I just read the code in remote.c that deals
with .git/branches and understand that it's still used by git.  From the
feedback from Stephen, Andrew and Pasky, it looks like we can drop
the .git/branches from the template for 1.6 and maybe in the future, we
could drop the .git/branches support entirely.  Dunno.

cheers,
Kristian


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: What's cooking in git.git (topics), Junio C Hamano, (Mon Jun 30, 3:15 pm)
Re: What's cooking in git.git (topics), Andrew Morton, (Mon Jun 30, 3:51 pm)
Re: What's cooking in git.git (topics), Petr Baudis, (Mon Jun 30, 3:53 pm)
Re: What's cooking in git.git (topics), Johannes Schindelin, (Mon Jun 30, 4:09 pm)
Re: What's cooking in git.git (topics), Stephen Rothwell, (Mon Jun 30, 5:57 pm)
Re: What's cooking in git.git (topics), Kristian , (Tue Jul 1, 8:44 am)