git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Nicolas Pitre <nico@fluxnic.net>
Date
Oct 16, 2009, 02:45 UTC
Message-ID
<alpine.LFD.2.00.0910152211590.20122@xanadu.home>
In-Reply-To
<alpine.DEB.1.00.0910160357370.4985@pacific.mpi-cbg.de>
On Fri, 16 Oct 2009, Johannes Schindelin wrote:
Show 16 quoted lines
> 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.

Show 11 quoted lines
> > > 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.
Show 5 quoted lines
> 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
Previous: Johannes SchindelinNext: Junio C Hamano
Message 25 of 93 in “Proof-of-concept patch to remember what the detached HEAD was”
  1. Proof-of-concept patch to remember what the detached HEAD wasDaniel Barkalow, Oct 14, 2009
  2. Junio C HamanoOct 14, 2009
  3. Jeff KingOct 14, 2009
  4. Johannes SchindelinOct 14, 2009
  5. Jeff KingOct 14, 2009
  6. Junio C HamanoOct 14, 2009
  7. Jeff KingOct 14, 2009
  8. Daniel BarkalowOct 14, 2009
  9. Jay SoffianOct 14, 2009
  10. Daniel BarkalowOct 14, 2009
  11. Nicolas PitreOct 14, 2009
  12. Daniel BarkalowOct 14, 2009
  13. Junio C HamanoOct 14, 2009
  14. Nicolas PitreOct 14, 2009
  15. Junio C HamanoOct 14, 2009
  16. Jeff KingOct 14, 2009
  17. Nicolas PitreOct 14, 2009
  18. Junio C HamanoOct 15, 2009
  19. Jeff KingOct 15, 2009
  20. Nicolas PitreOct 15, 2009
  21. Jeff KingOct 15, 2009
  22. Johannes SchindelinOct 16, 2009
  23. Nicolas PitreOct 16, 2009
  24. Johannes SchindelinOct 16, 2009
  25. Nicolas PitreOct 16, 2009
  26. Junio C HamanoOct 16, 2009
  27. Sean EstabrooksOct 17, 2009
  28. Johannes SchindelinOct 26, 2009
  29. Nanako ShiraishiOct 27, 2009
  30. Making Git easy to use -- without RTFM, was Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD wasJohannes Schindelin, Oct 27, 2009
  31. Avery PennarunOct 27, 2009
  32. Johannes SchindelinOct 16, 2009
  33. Junio C HamanoOct 16, 2009
  34. James PickensOct 15, 2009
  35. Jakub NarebskiOct 15, 2009
  36. Björn SteinbrinkOct 15, 2009
  37. Nicolas PitreOct 15, 2009
  38. Daniel BarkalowOct 15, 2009
  39. Michael J GruberOct 15, 2009
  40. Nicolas PitreOct 15, 2009
  41. Daniel BarkalowOct 15, 2009
  42. Thomas RastOct 15, 2009
  43. Nicolas PitreOct 15, 2009
  44. Junio C HamanoOct 15, 2009
  45. Jeff KingOct 15, 2009
  46. Junio C HamanoOct 15, 2009
  47. Junio C HamanoOct 15, 2009
  48. Nicolas PitreOct 15, 2009
  49. James PickensOct 15, 2009
  50. Nicolas PitreOct 16, 2009
  51. Johannes SchindelinOct 16, 2009
  52. Björn SteinbrinkOct 16, 2009
  53. Jeff KingOct 15, 2009
  54. Jeff KingOct 15, 2009
  55. Björn SteinbrinkOct 16, 2009
  56. Daniel BarkalowOct 16, 2009
  57. Björn SteinbrinkOct 16, 2009
  58. Nicolas PitreOct 16, 2009
  59. Daniel BarkalowOct 15, 2009
  60. Junio C HamanoOct 15, 2009
  61. Daniel BarkalowOct 15, 2009
  62. Nicolas PitreOct 15, 2009
  63. Julian PhillipsOct 16, 2009
  64. Björn SteinbrinkOct 16, 2009
  65. Julian PhillipsOct 16, 2009
  66. Daniel BarkalowOct 16, 2009
  67. Junio C HamanoOct 16, 2009
  68. Julian PhillipsOct 16, 2009
  69. Nicolas PitreOct 16, 2009
  70. Julian PhillipsOct 17, 2009
  71. Björn SteinbrinkOct 17, 2009
  72. Julian PhillipsOct 17, 2009
  73. Björn SteinbrinkOct 17, 2009
  74. Julian PhillipsOct 17, 2009
  75. Junio C HamanoOct 16, 2009
  76. Julian PhillipsOct 17, 2009
  77. Junio C HamanoOct 17, 2009
  78. Julian PhillipsOct 17, 2009
  79. Björn SteinbrinkOct 17, 2009
  80. Junio C HamanoOct 17, 2009
  81. Björn SteinbrinkOct 17, 2009
  82. Junio C HamanoOct 17, 2009
  83. James PickensOct 17, 2009
  84. Björn SteinbrinkOct 17, 2009
  85. Junio C HamanoOct 18, 2009
  86. Björn SteinbrinkOct 19, 2009
  87. Julian PhillipsOct 17, 2009
  88. Eric RaibleOct 14, 2009
  89. Christoph BartoschekOct 16, 2009
  90. Junio C HamanoOct 17, 2009
  91. Björn SteinbrinkOct 17, 2009
  92. Junio C HamanoOct 17, 2009
  93. Daniel BarkalowOct 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.