Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 16 Oct 2009, Johannes Schindelin wrote:

> Hi,
> 
> On Thu, 15 Oct 2009, Nicolas Pitre wrote:
> 
> > On Fri, 16 Oct 2009, Johannes Schindelin wrote:
> > 
> > > We, the old Gits need to change.  Not the many other people.
> > > 
> > > Remember: you do not know how exactly the clutch interacts with the 2nd 
> > > cylinder of the engine.  And you do not _need_ to.
> > 
> > Really, the detached HEAD concept can't be _that_ hard.
> 
> You are trying to educate the users to use the double-clutch.  Rather than 
> making the double-clutch obsolete.
> That's what I call "BlameTheWrongThing".

I just can't convince myself to share that point of view.  Doesn't mean 
that I'm right though, but that's how I see it given the alternative.

> > > Neither should Git users need to.
> > 
> > What you're asking for, though, is more comparable to asking old Gits to 
> > give up on their clutch and manual gearbox because most American Git 
> > users are expecting automatic transmissions.  Maybe that's not the case 
> > in Germany, but over here automatic transmissions are by far the norm 
> > and a manual gearbox can be obtained only in limited cases if at all.
> 
> Your point being?  You really think Git is already at the stage where it 
> has automatic transmission and all you have to do is hit the gas or the 
> brake?  No, Nico, you are too intelligent to believe that.

No, Git is not at the automatic transmission level, and I _don't_ want 
it to, ever.  That would not be _my_ choice.

> Besides, Git is not even at the stage of a manual gearbox.

Here I disagree.

> Just recently, I had a user request (a very valid one, mind you) where the 
> user does not want to provide a commit message, and wants to just commit 
> all the current changes.  In that particular case, it is very sensible to 
> ask for these things.  It is something utterly simple to ask for. Yet, it 
> is utterly hard with Git, especially if I have to explain it.

I hope this is a bad example.  I just can't imagine how "very sensible" 
you may consider messageless commits.  I've dealt with them too many 
times in my life.

But still, if someone just can't be bothered at all then the 
"workaround" is easy: just use '-m.' or any other meaningless character 
of your choice.  At least _I_ will be able to identify those commits as 
being purposely messageless and make a better informed opinion on that 
committer instead of blaming it on ignorance.

> Maybe the core Git developers should spend a month explaining the core 
> principles of Git to some random software developers, just so all of us 
> get an idea just how wrong we are on the account of how intuitive Git is.

Sorry but I don't share that feeling of hopelessness that seems to 
affect those random software developers you might have tried to teach 
Git to.  Well, actually I do have to deal with hopeless software 
developers once in a while which are simply total idiots, and they 
certainly shine at depicting Git, or any other tool at their disposal 
for that matter, as utter crap.  But fortunately for me, the few people 
to whom I've explained Git so far simply got it in very little time.  
In my opinion, the most important concept to explain first is Git 
branching.  Everything else is kinda secondary.  Worked for me pretty 
well so far.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]