forked from ESCOMP/CESM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ESCOMP#156 from billsacks/onbranch_show_hash
When on a branch, show tag/hash, too For the sake of recording provenance, it is not sufficient to know the branch you're on: you also need to know the hash or tag. So show both when printing the current reference. Example output of excerpts from `checkout_externals -S -v`: In sync: ``` ./cime/src/drivers/nuopc/ clean sandbox, on 3810a7a000e993267e1774c9a985891db3f9d137 (branch mvertens/fixglc_runseq) ``` Out of sync: ``` s ./cime/src/drivers/nuopc/ clean sandbox, 3810a7a000e993267e1774c9a985891db3f9d137 (branch mvertens/fixglc_runseq) --> 147e8a6 ``` Previously in these cases, the current hash (`3810a7a...`) wasn't shown: only the branch name was shown. User interface changes?: Yes: Just changes output a bit Fixes: none Testing: test removed: none unit tests: pass system tests: pass manual testing: manually checked output in a few cases (e.g., see above)
- Loading branch information
Showing
4 changed files
with
18 additions
and
17 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
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