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
Don't use git config that might be present on the host (#373)
* Don't use git config that might be present on the host
This can cause unexpected git behavior, like a different diff tool, ANSI coloring in the diff and probably other bad magic.
* Try setting committer name as well
* Add changelog entry
* Update changelog
Co-authored-by: Thorsten Ball <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ All notable changes to `src-cli` are documented in this file.
17
17
18
18
### Fixed
19
19
20
+
-`src campaign [apply|preview]` could fail to parse the produced diff in a repository when `git` was configured to use a custom `diff` program. The fix is to ignore any local `git` configuration when running `git` commands. [#373](https://github.com/sourcegraph/src-cli/pull/373)
0 commit comments