use status --ignore-submodules in configureSmudgeFilter
Speed up git-annex upgrade (from v5) and init in a repository that has submodules. Setting the config does not affect the submodules, so avoid the work of getting status in them, which may involve using the smudge filter etc. Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
parent
0b2dd374d8
commit
eb8e0594bb
4 changed files with 21 additions and 1 deletions
|
@ -18,3 +18,4 @@ I guess it could have used some flavor of `--ignore-submodules` with its invocat
|
|||
[[!meta author=yoh]]
|
||||
[[!tag projects/repronim]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2022-12-20T19:48:52Z"
|
||||
content="""
|
||||
This happens on upgrade from a v5 repository, which calls
|
||||
configureSmudgeFilter. [[!commit 401a79675ba2f125545ec9ec77376cb4b965fa4a]]
|
||||
explains why it needs to run status there.
|
||||
|
||||
So, it will indeed be ok to pass --ignore-submodules, since each submodule
|
||||
that is a git-annex repository will get upgraded in its own time,
|
||||
and will run configureSmudgeFilter then.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue