-
Notifications
You must be signed in to change notification settings - Fork 13
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
gitwalk clones local repositories #3
Comments
I have the same issues. Do you know any alternative for this? The creator of this wasn't active here for 2 years now. :/ |
Honestly I think the alternative is just to write a shell script with a |
Hi guys, I'm sorry for my belated response. I see your pain with this and agree -- it's inefficient for sure. Every time gitwalk runs, it force-updates the local branches to whatever's on origin. If someone's happy to add a config/CLI option that will skip this for local repos and process them in-situ, I'd be more than happy to accept it. Unfortunately, I'm not in a position to work on this myself at the moment :-/. @aspiers You're right that if you have all the repos cloned already, a shell script works as well. Radek |
@pazdera No problem, thanks a lot for the reply and the clarification! :-) |
@pazdera Really no problem! Thanks for you answer! However, there is a fork of this repo, it would be great if it would be merged with this. It just updates dependencies, for example nodegit. |
@nnmrts Oh, I must have missed that! I'll look into it. Thanks! |
The README says:
Sorry, but I strongly disagree ;-) Firstly, I'd suggest that this is too careful:
If there were no downsides to being careful, I'd concede that OK, no harm done. But unfortunately this approach has several big disadvantages to the user experience:
for
loop to work directly on the original repos, which defeats the point ofgitwalk
.sed -i
) and then another one which reads (e.g.grep
) then the changes you just made vanish. This violates the Principle of Least Astonishment.If I've misunderstood, please correct me. But otherwise please consider changing the design of this. Thanks!
The text was updated successfully, but these errors were encountered: