Skip to content
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

clean: suggest using core.longPaths if paths are too long to remove #3817

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

mathstuf
Copy link

@mathstuf mathstuf commented Apr 22, 2022

On Windows, git repositories may have extra files which need cleaned
(e.g., a build directory) that may be arbitrarily deep. Suggest using
core.longPaths if such situations are encountered.

Fixes: #2715
Signed-off-by: Ben Boeckel [email protected]

On Windows, git repositories may have extra files which need cleaned
(e.g., a build directory) that may be arbitrarily deep. Suggest using
`core.longPaths` if such situations are encountered.

Fixes: #2715
Signed-off-by: Ben Boeckel <[email protected]>
@mathstuf mathstuf force-pushed the name-too-long-advice branch from b6df087 to 6fc4995 Compare April 22, 2022 13:13
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you very much!

@dscho dscho merged commit a8150f0 into git-for-windows:main Apr 22, 2022
dscho added a commit to git-for-windows/build-extra that referenced this pull request Apr 22, 2022
When `git clean` fails due to long
paths, [Git now advises the user to set
`core.longPaths`](git-for-windows/git#3817).

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho added this to the Next release milestone Apr 22, 2022
@mathstuf mathstuf deleted the name-too-long-advice branch April 22, 2022 23:10
dscho added a commit that referenced this pull request Apr 26, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 26, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 26, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 26, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 28, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 28, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 28, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 29, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 29, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 29, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 29, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request Apr 29, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 2, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 3, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 3, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 3, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 5, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 5, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 5, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 9, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 9, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 9, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit that referenced this pull request May 9, 2022
clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Dec 30, 2024
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Dec 31, 2024
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Dec 31, 2024
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 1, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 2, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 3, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 6, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 6, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 7, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 7, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
@dscho dscho mentioned this pull request Jan 7, 2025
dscho added a commit to dscho/git that referenced this pull request Jan 7, 2025
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
dscho added a commit to dscho/git that referenced this pull request Jan 7, 2025
…dvice

clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 7, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 7, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 8, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 8, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 8, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
git-for-windows-ci pushed a commit that referenced this pull request Jan 8, 2025
clean: suggest using `core.longPaths` if paths are too long to remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clean cannot remove paths with long names
2 participants