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
We should support a -d flag to print the diff of what would be changed without changing anything.
If the diff was non-empty, the program would exit with a non-zero exit code so that this could be used in scripts like gopatch -d -p foo.patch ./... will return a non-zero exit code and print a diff if foo.patch would change anything.
We'd have to decide how this plays with the -l flag proposed in #19.
The text was updated successfully, but these errors were encountered:
We should support a
-d
flag to print the diff of what would be changed without changing anything.If the diff was non-empty, the program would exit with a non-zero exit code so that this could be used in scripts like
gopatch -d -p foo.patch ./...
will return a non-zero exit code and print a diff if foo.patch would change anything.We'd have to decide how this plays with the
-l
flag proposed in #19.The text was updated successfully, but these errors were encountered: