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

Re: Cloning from kernel.org, then switching to another repo

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 13, 2007, 19:13 UTC
Message-ID
<7vy7d2rmb8.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<vpq3avah3r0.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 13 quoted lines
> "Jon Smirl" <jonsmirl@gmail.com> writes:
>
>> Execute bit was not set. I just set it for all the scripts. +x is not
>> getting turned on with a default git init-db. I just made a new repo
>> to check, no +x on the scripts.
>
> That's by design: "git init" gives you _example_ hooks, but they won't
> run until you activate them explicitely with the appropriate chmod.
>
> That said, I'm not sure there's a really good reason not to run
> update-server-info by default on push. It doesn't cost much and saves
> a lot of troubles for beginners. Perhaps there are cases where the
> performance cost is non-negligible.

One incarnation of u-s-i we had in the past was quite a lot more expensive, but we discarded the complexity, so I'd agree it won't cost much in the current shape now.

The expensive one tried to record information to help dumb transports better, such as "if you have this revision then you do not have to fetch that pack but instead fetch this", as we were discussing packs that have objects from duplicated, staggered ranges. The idea did not quite pan out.

Previous: Matthieu MoyNext: Jon Smirl
Message 14 of 22 in “Cloning from kernel.org, then switching to another repo”
  1. Jon SmirlNov 12, 2007
  2. Johannes SchindelinNov 12, 2007
  3. Jon SmirlNov 12, 2007
  4. Johannes SchindelinNov 12, 2007
  5. Jon SmirlNov 12, 2007
  6. Johannes SchindelinNov 12, 2007
  7. Jon SmirlNov 12, 2007
  8. Jon SmirlNov 12, 2007
  9. Jeff KingNov 13, 2007
  10. Jeff KingNov 13, 2007
  11. Jon SmirlNov 13, 2007
  12. Jeff KingNov 13, 2007
  13. Matthieu MoyNov 13, 2007
  14. Junio C HamanoNov 13, 2007
  15. Jon SmirlNov 13, 2007
  16. Jakub NarebskiNov 13, 2007
  17. Linus TorvaldsNov 12, 2007
  18. Johannes SchindelinNov 12, 2007
  19. Jon SmirlNov 12, 2007
  20. Jeff KingNov 13, 2007
  21. Jon SmirlNov 13, 2007
  22. Jon SmirlNov 12, 2007

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.