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

When fetching from the remote, the --prune option should be used #18

Open
robmadole opened this issue Feb 19, 2013 · 0 comments
Open

When fetching from the remote, the --prune option should be used #18

robmadole opened this issue Feb 19, 2013 · 0 comments

Comments

@robmadole
Copy link
Collaborator

There is a chance that the local references to remote branches are out of date when git-sweep runs. This can cause it to identify branches for deletion that do not actually exist on the remote.

To fix this, I think the --prune option should be used whenever git-sweep fetches from the remote.

myint added a commit to myint/git-sweep that referenced this issue Oct 27, 2013
This is needed to make sure that we don't try to delete a remote branch
that no longer exists. This fixes arc90#18.
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

1 participant