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

Re: random server hacks on top of git

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 18, 2013, 18:24 UTC
Message-ID
<7v7gl4o9aj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20130318121243.GC14789@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
>   - blame-tree; re-rolled from my submission last year to build on top
>
>   - diff --max-depth; this is a requirement to do blame-tree efficiently

Both look mildly interesting, especially after the magic pathspec settles the latter may be a good addition.

>   - share ref selection code between "git branch", "git tag", and "git
>     for-each-ref".
Nice.
>    - receive.maxsize; index-pack will happily spool data to disk
Again nice.
>    - receive.advertisealternates; basically turn off ".have"
>      advertisement.

I think this is a sane thing to do, especially with some hints on the most common reference tree everybody is expected to know about.

>     - receive.hiderefs; this is going to become redundant with Junio's
>       implementation
Yup.
Show 9 quoted lines
>     - an audit reflog; we keep a reflog for all refs at the root of the
>       repository. It differs from a regular reflog in that:
>
>         1. It never expires.
>
>         2. It is not part of reachability analysis.
>
>         3. It includes the refname for each entry, so you can see
>            deletions.
Interesting.
>     - ignore some fsck warnings under transfer.fsckobjects; some of them
>       are annoyingly common when people pull old history from an
>       existing project and try to push it back up.
Depending on the implementation, this may be very much valuable.
Previous: Jeff King
Message 2 of 2 in “random server hacks on top of git”
  1. Jeff KingMar 18, 2013
  2. Junio C HamanoMar 18, 2013

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.