diff --git a/bin/git-magic b/bin/git-magic index b6b7b6f..f020c74 100755 --- a/bin/git-magic +++ b/bin/git-magic @@ -68,7 +68,7 @@ if [[ $ALL == true ]]; then # Restore staging area so that, for example, # add and modify will not be separate entries in status - git restore --staged . + git restore --staged . || true git add . fi