New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support untracked cache with '--untracked-files=all' if configured #985
Conversation
There is an issue in commit a8bf8f7: |
a8bf8f7
to
2797efa
Compare
/submit |
Submitted as pull.985.git.1624430668741.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
2797efa
to
e2f1ad2
Compare
/submit |
Submitted as pull.985.v2.git.1645811564461.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This branch is now known as |
This patch series was integrated into seen via git@f68b759. |
This patch series was integrated into seen via git@01e0ccf. |
There was a status update in the "New Topics" section about the branch The untracked cache system does not work well when the setting of status.showuntrackedfiles is 'normal' and not 'all', which has been updated. Needs review. source: <pull.985.v2.git.1645811564461.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@cb1be9e. |
This patch series was integrated into seen via git@f6e29ae. |
e2f1ad2
to
49cf90b
Compare
/submit |
Submitted as pull.985.v3.git.1645960973798.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Tao Klerks wrote (reply to this):
|
User |
49cf90b
to
5da418e
Compare
On the Git mailing list, Tao Klerks wrote (reply to this):
|
note on OSX failure: I keep seeing these, it looks like there's something wrong with an OSX build host (or the whole setup?). Possibly the most disturbing thing is that the failure has something to do with the hash of a Helix Server (ie Perforce VCS) package. I don't know whether this failure prevents submission on GitGitGadget, but I will assume not. I am confident it is unrelated to my changes. |
/submit |
Submitted as pull.985.v4.git.1645974782256.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
Yes, Perforce does not provide stable links. So the same URL will result in different versions every once in a while. |
Comment to self for next re-roll: It might make sense to include a performance (cache-use) matrix for betore and after this change: Rows:
Columns:
Matrix before:
Matrix after:
(three cells are "flipped", two for better and one for worse; my claim |
On the Git mailing list, Ævar Arnfjörð Bjarmason wrote (reply to this):
|
User |
This patch series was integrated into seen via git@abfa6dd. |
This patch series was integrated into seen via git@09e178c. |
This patch series was integrated into seen via git@003d30f. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@da3b247. |
This patch series was integrated into seen via git@56f608c. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@26fe10f. |
This patch series was integrated into seen via git@2c1ec57. |
This patch series was integrated into seen via git@39bd3f0. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@8806d68. |
This patch series was integrated into seen via git@2c58517. |
This patch series was integrated into seen via git@0cb6291. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@5e3a219. |
This patch series was integrated into seen via git@5315b3a. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@8622808. |
This patch series was integrated into seen via git@5335ce1. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will cook in 'next'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@4cd5da1. |
This patch series was integrated into seen via git@93a4cf3. |
There was a status update in the "Cooking" section about the branch The performance of the "untracked cache" feature has been improved when "--untracked-files=<mode>" and "status.showUntrackedFiles" are combined. Will merge to 'master'. source: <pull.985.v6.git.1648742535.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@301fc17. |
This patch series was integrated into master via git@301fc17. |
This patch series was integrated into next via git@301fc17. |
Closed via 301fc17. |
Make it possible for users of the -uall flag to git status, either by preference or by need (eg UI tooling), to benefit from the untracked cache when they set their 'status.showuntrackedfiles' config setting to 'all'. This is especially useful for large repos in Windows, where without untracked cache "git status" times can easily be 5x higher, and GUI tooling typically does use -uall.
In this sixth version, clarify the main commit message and some of the code comments, and adjust the logic slightly such that an existing untracked cache structure, when consistent with the requested flags in the current run, can be reused even though the current config would set/store/use the other set of flags on a new untracked cache structure.
I'm comfortable with this patch as-is, but am still interested in any thoughts as to whether it makes sense and is likely to be accepted to do this as a simple enhancement as proposed here, or whether people be more comfortable with a new configuration option, given the potential for worse performance under specific (and, I believe, vanishingly rare) circumstances.
cc: Tao Klerks tao@klerks.biz
cc: Ævar Arnfjörð Bjarmason avarab@gmail.com