-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tolerate custom format.pretty settings in user .gitconfig
parseLocalCommitStack assumes the commit log string conforms to --pretty=/--format=medium. If the user has a custom setting for format.pretty in .gitconfig (for example: oneline) , this assumption can break and spr reports: "pull request stack is empty". This commit changes the git log command to always specify --format=medium to avoid this issue.
- Loading branch information
1 parent
96da77e
commit 867ff5d
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters