Live data from Hacker News

Viewing profile — stolee

stolee

HN member
Joined
Wed, Aug 26, 2015, 3:32 PM UTC
HN karma
100
Public activity
27 items

About stolee

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #31900949

    Not deprecated. You can still use it. You need to manually opt-in using `git config core.sparseCheckoutCone false` since the default has switched.

  3. comment
    Comment #31899043

    If you are curious, then you can find the discussion starting at v2 here: https://lore.kernel.org/git/20220330190956.21447-1-garrit@sl... This is a first time contributor getting a…

  4. comment
    Comment #29581538

    This is a really core and famous problem in extremal combinatorics and a lot of people think about this problem and many related ones. I think the biggest impediment is that too ma…

  5. comment
    Comment #28212647

    Yes! Also cherry-pick and revert. But specifically, the ORT strategy can cache computed renames across multiple commits being rebased, so the performance benefits are even greater …

  6. comment
    Comment #27723260

    That history that looks tangled and awful would look a lot better if the commits were sorted by `--topo-order` instead of `--date-order`. That sort “groups” commits that are in a s…

  7. comment
    Comment #26475240

    You're right that we used what we learned from Scalar's background maintenance an applied that to Git itself. Putting background maintenance into Git was actually part of our effor…

  8. comment
    Comment #25459045

    The delta compression in Git is about storing the file contents of an object as a diff against another object. This changes the literal size on-disk, but it doesn't change the logi…

  9. comment
    Comment #25458984

    If I have a 100-line file and on 'main' it changes near the top, but in my 'topic' branch it changes near the bottom, then I can cherry-pick 'topic' onto 'main' and Git will resolv…

  10. comment
    Comment #25458550

    We fixed the typo in the blog title (shapshots). Sorry!

  11. story
  12. comment
    Comment #24142256

    That operation is much faster in recent versions of Git, especially after a GC or “git commit-graph write” command.

  13. comment
    Comment #23969060

    If you don't disable fetch.writeCommitGraph and gc.writeCommitGraph there is a chance that those operations will overwrite your commit-graph and delete the changed-path filter data…

  14. comment
    Comment #23968945

    The data is stored in your `commit-graph` file by this command, but those other ways to update the `commit-graph` file don't pay attention to the fact that the data exists in order…

  15. comment
    Comment #23487800

    Thanks for the link to the documentation. That is updated with every major Git version, and can be used to track what features are present. Also, the release notes can be helpful. …

  16. comment
    Comment #22081194

    LFS only downloads the files required by the checkout. From Git’s perspective, those files are very tiny, and only include the information required so LFS can download the files on…

  17. comment
    Comment #22079966

    The sparse-checkout patterns match at the file level, so you can always use that (without “cone mode”) if you want. It becomes difficult to match an exact file list as people add f…

  18. comment
    Comment #19596353

    The comparison to hill-climbing algorithms is an interesting one, especially because the author ignores the fact that hill-climbing algorithms get stuck in local optima unless ther…

  19. comment
    Comment #17557114

    Earlier this year, we considered similar changes to the ahead/behind calculation in 'git status'. We concluded that there is no good way to provide partial information. Specificall…

  20. comment
    Comment #17557004

    In your calculation, you are assuming that all of those files are in independent parts of the folder hierarchy. In practice, deep directory structures mean that single commits are …

  21. comment
    Comment #17549373

    Do you mean `git branch --contains` or `git branch -vv`? There are many options to `git branch` that cause Git to be very slow. The commit-graph feature in general will make these …

  22. comment
    Comment #17548644

    It does! The Bloom filter stores every path that changed, including paths to trees (except the root tree, which is expected to be changed by default). When you change a file, you a…

  23. comment
    Comment #17415831

    The good news is that if you are using shallow clones, then you probably don’t have enough commits locally to need the commit-graph feature!

  24. comment
    Comment #17415703

    We are working to make this run automatically in the future. https://public-inbox.org/git/20180627132447.142473-1-dstolee... You don't need to run this with every commit, but maybe…

  25. comment
    Comment #17415689

    Sorry for the worrying note about the experimental feature. One issue when working in open source is that contributors don't have control over the release cycle, and review require…