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

Double check if files still exist before git-add #355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 20, 2019

  1. Double check if files still exist before git-add

    If the --command flag is used, the given command runs after syncing,
    but before committing. If the command removes any files that were
    "added" by the syncing, or re-creates files that were "removed" during
    the syncing, then the "git add" and "git rm" commands will fail.
    
    To get around this, we can just double check if "added" files are still
    there before calling "git add", respectively "removed" files are still
    deleted. If there are any changes to the status after the sync, a
    warning seems appropriate.
    goerz committed Oct 20, 2019
    Configuration menu
    Copy the full SHA
    6fdf9b9 View commit details
    Browse the repository at this point in the history