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

git svn --ignore-paths regex #698

Closed
Camts opened this issue Mar 3, 2016 · 3 comments
Closed

git svn --ignore-paths regex #698

Camts opened this issue Mar 3, 2016 · 3 comments

Comments

@Camts
Copy link

Camts commented Mar 3, 2016

Example taken from help does not work: --ignore-paths="^doc"

git --version
git version 2.7.0.windows.1

@Camts
Copy link
Author

Camts commented Aug 12, 2016

Sorry, it works, but documentation is not clear:
The path tested by regex is not the local path of added file, but on the path from the SVN URL, example:

git svn init svn://svn.foo.com/bar/ --trunk=trunk/project

regex is not tested on doc/bar.txt (local added file), but on what is after svn://svn.foo.com/bar/, so on trunk/project/doc/bar.txt

So, to exclude doc directory, ignore path is "^trunk/project/doc"

@Camts Camts closed this as completed Aug 12, 2016
@jan-pesta
Copy link

Thats not nice as you wold like to have same ignore also for branches and tags, and those name are groving, so you would need to extend ignore path for every branch/tag also

@pedrorijo91
Copy link
Member

hey @jan-pesta. Unfortunately this repository is just for the git-scm website. If you want to propose the problem to the git developers just check the mailing list contact at https://git-scm.com/community.

Don't forget to properly state the problem, and feel free to provide some suggestions

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

No branches or pull requests

3 participants