-
Notifications
You must be signed in to change notification settings - Fork 146
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
Should the check
command be removed?
#79
Comments
I'd be fine with this, as well as closing #46. I've been getting along fine without the feature. |
During the last month I have been running with the new "check dirty working copy" feature and find it quite useful, if it weren't for the delay when checking the remote. Only problem I see is the naming clash with Any comments? |
Fair enough, my frustration just stems from that it is sooo slow :-)
Huh, yeah. That could work. I also though that we could simply delay checking the remote after we have checked whether the working copy is dirty, that could save a little time in those cases. It's aquickfix, I know, but the change would still be a sound one. |
Delaying does seem like a good first iteration. That change may need to update the tests though. I made sure that |
Oh, right :-) |
I agree. |
passing this option avoids checking git remotes so `check` can execute much quicker. this duplicates the git status check logic, so it could probably stand to be refactored a bit. see discussion in andsens#79 note: this diff is best viewed with -w (ignore whitespace)
@andsens, @squaresurf : i too desired a way to avoid the network hit when doing a check. see blech75/homeshick@9aee26a for something quick i whipped up. lemme know what you think of the approach. it seemed reasonable enough, though i don't love the |
passing this option avoids checking git remotes so `check` can execute much quicker. this duplicates the git status check logic, so it could probably stand to be refactored a bit. see discussion in andsens#79 note: this diff is best viewed with -w (ignore whitespace)
The
check
command is a rather complicated piece of code and is not even complete without #46 (which would make it even more complex). Additionally it is slow, since it has to connect to the remote upstream to check for updates.I do not use this command very much myself and was wondering whether a depreciation would be in order?
The two use scenarios as I can see it are:
check
to see if there are any changes on the upstream remotes - which is a stupid scenario, because after that you would probably runpull
anyways, so why not just runpull
immediately?Scenario # 2 is very much an edge case and not enough of a feature to warrant an entire command.
The text was updated successfully, but these errors were encountered: