-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-commit-id/git-commit-id-maven-plugin#701: add testcase to demonst…
…rate the issue
- Loading branch information
TheSnoozer
committed
Mar 2, 2024
1 parent
0dcee41
commit 49cee9c
Showing
3 changed files
with
64 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -48,7 +48,41 @@ public enum AvailableGitTestRepo { | |
*/ | ||
WITH_COMMIT_THAT_HAS_TWO_TAGS("src/test/resources/_git_with_commit_that_has_two_tags"), | ||
ON_A_TAG_DIRTY("src/test/resources/_git_on_a_tag_dirty"), | ||
/** | ||
* <pre> | ||
* * 01ed93c - (11 years ago) any commit, just a readme - Konrad Malawski (HEAD -> master) | ||
* * 4ce26eb - (11 years ago) my submodules, yay - Konrad Malawski | ||
* </pre> | ||
* <pre> | ||
* $ git submodule status | ||
* -9fd4b69a5ca09b60884d4f8f49ce16ea071077be module1 | ||
* -9fd4b69a5ca09b60884d4f8f49ce16ea071077be module2 | ||
* -9fd4b69a5ca09b60884d4f8f49ce16ea071077be module3 | ||
* -9fd4b69a5ca09b60884d4f8f49ce16ea071077be module4 | ||
* | ||
* $ git config --file .gitmodules --get-regexp '\.url$' | ||
* submodule.module1.url /tmp/module1 | ||
* submodule.module2.url /tmp/module1 | ||
* submodule.module3.url /tmp/module1 | ||
* submodule.module4.url /tmp/module1 | ||
* </pre> | ||
*/ | ||
WITH_SUBMODULES("src/test/resources/_git_with_submodules"), | ||
|
||
/** | ||
* <pre> | ||
* 6455ccd - (3 minutes ago) init (HEAD -> master) | ||
* </pre> | ||
* <pre> | ||
* $ git submodule status | ||
* 945bfe60e8a3eff168e915c7ba5bac37c9d0165b remote-module (heads/empty-branch) | ||
* | ||
* $ git submodule foreach --recursive git remote get-url origin | ||
* Entering 'remote-module' | ||
* [email protected]:git-commit-id/git-test-resources.git | ||
* </pre> | ||
*/ | ||
WITH_REMOTE_SUBMODULES("src/test/resources/_git_with_remote_submodules"), | ||
/** | ||
* <pre> | ||
* b6a73ed - (HEAD, master) third addition (4 minutes ago) <p>Konrad Malawski</p> | ||
|
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
Submodule resources
updated
54 files