You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For "both added" conflicts, git show :1:path/to/file yields a fatal error since there is nothing in stage 1. This does not crash the script since the script does not use set -e, and the file where the output from git show is redirected ends up being empty (which is the right result), but it would be nice to detect that situation and avoid the command in that case.
The text was updated successfully, but these errors were encountered:
For "both added" conflicts,
git show :1:path/to/file
yields a fatal error since there is nothing in stage 1. This does not crash the script since the script does not useset -e
, and the file where the output fromgit show
is redirected ends up being empty (which is the right result), but it would be nice to detect that situation and avoid the command in that case.The text was updated successfully, but these errors were encountered: