-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to use cmake string(REGEX REPLACE) when converting git log ou…
…tput (#597) In the off chance that Git decides to change the output of git log -1 "--pretty=format:%p", use a regex match and replace in cmake to match consecutive spaces and replace them with a single ;.
- Loading branch information
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ MOCK_PROGRAM_RETURN: 0 | |
MOCK_PROGRAM_OUTPUT: This is the HEAD commit summary line | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%p HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: b5678aop c9101hah | ||
MOCK_PROGRAM_OUTPUT: b5678aop c9101hah | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> b5678aop | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: b5678aop [Thu Sep 20 19:19:18 2023 -0400] <[email protected]> | ||
|
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