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

Re: Implementing branch attributes in git config

From
Linus Torvalds <torvalds@osdl.org>
Date
May 11, 2006, 00:11 UTC
Message-ID
<Pine.LNX.4.64.0605101656110.3718@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0605101629230.3718@g5.osdl.org>
On Wed, 10 May 2006, Linus Torvalds wrote:
Show 5 quoted lines
>
>  - having the information in one place. I agree that the multi-file 
>    approach works fine for shell scripts (although I disagree that the new 
>    one would be harder - you just use git-repo-config instead), but I 
>    think it's quite confusing from a new user perspective.

Btw, I seriously believe that git has come to the point where we've licked the real technical issues. Stability hasn't been a concern for the last year - and even something as seriously as a repacking bug causing a SIGSEGV (yesterday) was actually basically designed to not be able to cause problems. The repack failed, and nothing happened to the old data. It was scary, but it wasn't "bad".

The last performance problem was a stupid one-liner, where one of the shell scripts didn't use the "--aggressive" flag for doing the trivial three-way merge, so it ended up forking and executing the "merge-one-file" shell script for 4500+ files for one unfortunate project that had a strange workflow. Adding the "--aggressive" flag took a 5-minute (where all of the time was spent in a shell script basically doing nothing) thing down to under a second.

So git should kick butt in performance, scale very well, and seems to take less disk space than just about anybody else.

So what do people actually _complain_ about? 

I don't think we've seen a serious complaint lately that hasn't been about nice user interface and/or documentation. Anybody?

So as far as I can tell, the #1 issue is that "new user" experience. You can pretty much forget about anything else. Working with git in a distributed manner is really easy and efficient, but from the comments I've seen, it's not always easy and obvious how to get to that point.

Creating a remote repository and filling it. And being able to understand what the local vs remote branches actually _mean_. And I think our current .git/remotes/ thing is a part of that. It's not exactly user _hostile_, but it's very much "implementation friendly, and doesn't care about the user". So I think .git/config can help us there.

I also think we could do with a few scripts to just do setup of a remote repo:

	git remote clone <remoteaddress>
	git remote branch <remoteaddress> [-D]
	git remote fsck <remoteaddress>
	git remote repack <remoteaddress> -a -d

which would all basically boil down to "ssh to the remote address, cd into that directory, and do the named git command there" (well, not clone: doing a remote clone involves doing a mkdir/git-init-db/git-receive-pack remotely, and doing a git-send-pack locally, so some of them would be about doing things _both_ locally and remotely).

And documentation.

Now, I don't do documentation, and I really think somebody else could do the whole "git remote <cmd>" thing too. It _should_ really be pretty trivial. My real point is that almost none of this is about technology, and it's much more about trying to put a whole lot of lipstick on this pig. We have _got_ the technology already, and I think most people will agree git is doing pretty damn well there.

Because I really think the pig is quite charming, just sometimes you see some of its boorish sides right now..

(Or should that be "boarish", when we talk about pigs? ;)
		Linus
Previous: Linus TorvaldsNext: Jeff King
Message 61 of 75 in “Implementing branch attributes in git config”
  1. Pavel RoskinMay 7, 2006
  2. Junio C HamanoMay 7, 2006
  3. Johannes SchindelinMay 8, 2006
  4. Linus TorvaldsMay 8, 2006
  5. Linus TorvaldsMay 8, 2006
  6. Linus TorvaldsMay 8, 2006
  7. Johannes SchindelinMay 8, 2006
  8. Pavel RoskinMay 8, 2006
  9. Johannes SchindelinMay 8, 2006
  10. Pavel RoskinMay 8, 2006
  11. Junio C HamanoMay 8, 2006
  12. Johannes SchindelinMay 8, 2006
  13. Pavel RoskinMay 8, 2006
  14. seanMay 8, 2006
  15. Linus TorvaldsMay 8, 2006
  16. Pavel RoskinMay 8, 2006
  17. seanMay 8, 2006
  18. Pavel RoskinMay 8, 2006
  19. Linus TorvaldsMay 8, 2006
  20. Junio C HamanoMay 8, 2006
  21. seanMay 8, 2006
  22. Johannes SchindelinMay 8, 2006
  23. seanMay 8, 2006
  24. Junio C HamanoMay 8, 2006
  25. seanMay 8, 2006
  26. Daniel BarkalowMay 8, 2006
  27. seanMay 8, 2006
  28. Johannes SchindelinMay 8, 2006
  29. seanMay 9, 2006
  30. Johannes SchindelinMay 9, 2006
  31. Linus TorvaldsMay 9, 2006
  32. seanMay 9, 2006
  33. Junio C HamanoMay 9, 2006
  34. Linus TorvaldsMay 9, 2006
  35. Junio C HamanoMay 9, 2006
  36. Linus TorvaldsMay 9, 2006
  37. Junio C HamanoMay 9, 2006
  38. Linus TorvaldsMay 9, 2006
  39. seanMay 9, 2006
  40. Linus TorvaldsMay 9, 2006
  41. seanMay 9, 2006
  42. Linus TorvaldsMay 9, 2006
  43. Jakub NarebskiMay 9, 2006
  44. Johannes SchindelinMay 9, 2006
  45. Linus TorvaldsMay 9, 2006
  46. Junio C HamanoMay 9, 2006
  47. Linus TorvaldsMay 9, 2006
  48. seanMay 9, 2006
  49. seanMay 9, 2006
  50. Junio C HamanoMay 9, 2006
  51. seanMay 9, 2006
  52. Linus TorvaldsMay 10, 2006
  53. seanMay 10, 2006
  54. Linus TorvaldsMay 10, 2006
  55. Martin LanghoffMay 10, 2006
  56. Johannes SchindelinMay 10, 2006
  57. Linus TorvaldsMay 10, 2006
  58. Jakub NarebskiMay 10, 2006
  59. Martin LanghoffMay 10, 2006
  60. Linus TorvaldsMay 10, 2006
  61. Linus TorvaldsMay 11, 2006
  62. Jeff KingMay 11, 2006
  63. Jeff KingMay 11, 2006
  64. Martin LanghoffMay 11, 2006
  65. Johannes SchindelinMay 11, 2006
  66. Nicolas PitreMay 11, 2006
  67. Jakub NarebskiMay 11, 2006
  68. seanMay 10, 2006
  69. Junio C HamanoMay 11, 2006
  70. Martin WaitzMay 9, 2006
  71. Johannes SchindelinMay 9, 2006
  72. Johannes SchindelinMay 8, 2006
  73. Pavel RoskinMay 9, 2006
  74. seanMay 9, 2006
  75. Pavel RoskinMay 9, 2006

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.