-
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 tribits_gernerate_single_repo_version_string to use HEAD (#597)
Instead of passing in the deferenced HEAD SHA1 to tribites_generate_commit_info_string, simply just pass in the HEAD pointer keyword for Git to deference itself.
- Loading branch information
Showing
3 changed files
with
8 additions
and
19 deletions.
There are no files selected for viewing
9 changes: 3 additions & 6 deletions
9
...ests/configure_git_mockprogram_files/mockprogram_inout.single_repo_one_parent_version.txt
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%H | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: a1234tgb [Thu Sep 21 19:19:18 2023 -0400] <[email protected]> | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%s a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%s HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: This is the HEAD commit summary line | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%p a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%p HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: b5678aop |
9 changes: 3 additions & 6 deletions
9
...sts/configure_git_mockprogram_files/mockprogram_inout.single_repo_two_parents_version.txt
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 |
---|---|---|
@@ -1,13 +1,10 @@ | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%H | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: a1234tgb [Thu Sep 21 19:19:18 2023 -0400] <[email protected]> | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%s a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%s HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: This is the HEAD commit summary line | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%p a1234tgbhyujkliu126sl12123s | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%p HEAD | ||
MOCK_PROGRAM_RETURN: 0 | ||
MOCK_PROGRAM_OUTPUT: b5678aop c9101hah | ||
MOCK_PROGRAM_INPUT: log -1 --pretty=format:%h [%ad] <%ae> b5678aop | ||
|
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