You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"git clean" supports "-f" and "-ff". https://git-scm.com/docs/git-clean
"Git will refuse to modify untracked nested git repositories (directories with a .git subdirectory) unless a second -f is given."
With edkrepo 3.1.1, "edkrepo clean" does not error when "-ff" is used, but only supports the behavior of "-f".
example edk2 test setup:
Create a Combination that uses enableSubmodule on newer edk2 stable tag.
Untracked files:
(use "git add <file>..." to include in what will be committed)
MdePkg/Library/BaseFdtLib/
MdePkg/Library/MipiSysTLib/
UnitTestFrameworkPkg/Library/GoogleTestLib/
UnitTestFrameworkPkg/Library/SubhookLib/
"edkrepo clean -ffd" runs, but does not remove Untracked files.
"git clean -ffd" runs, and removes Untracked files.
The text was updated successfully, but these errors were encountered:
Add "edkrepo clean" support for "-ff" option.
"git clean" supports "-f" and "-ff".
https://git-scm.com/docs/git-clean
"Git will refuse to modify untracked nested git repositories (directories with a .git subdirectory) unless a second -f is given."
With edkrepo 3.1.1, "edkrepo clean" does not error when "-ff" is used, but only supports the behavior of "-f".
example edk2 test setup:
Create a Combination that uses enableSubmodule on newer edk2 stable tag.
Manually checkout older Edk2 stable tag.
"edkrepo clean -ffd" runs, but does not remove Untracked files.
"git clean -ffd" runs, and removes Untracked files.
The text was updated successfully, but these errors were encountered: