Viewing profile — stolee
stolee
HN member- Joined
- Wed, Aug 26, 2015, 3:32 PM UTC
- HN karma
- 100
- Public activity
- 27 items
- HN profile
- View on Hacker News ↗
About stolee
No profile information was provided.
Recent public activity
- story
-
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.
-
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…
-
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…
-
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 …
-
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…
-
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…
-
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…
-
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…
-
comment
Comment #25458550
We fixed the typo in the blog title (shapshots). Sorry!
- story
-
comment
Comment #24142256
That operation is much faster in recent versions of Git, especially after a GC or “git commit-graph write” command.
-
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…
-
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…
-
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. …
-
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…
-
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…
-
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…
-
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…
-
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 …
-
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 …
-
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…
-
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!
-
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…
-
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…