mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
created hw-core bash libraries
will be traited as a git subtree
This commit is contained in:
7
modules/hw-core/bash-lib-git/bin/git-subtree-list
Executable file
7
modules/hw-core/bash-lib-git/bin/git-subtree-list
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source $CUR_DIR"/../src/subtree.sh"
|
||||
|
||||
hwc_git_subtree_list
|
||||
3
modules/hw-core/bash-lib-git/src/subtree.sh
Normal file
3
modules/hw-core/bash-lib-git/src/subtree.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
function hwc_git_subtree_list() {
|
||||
git log | grep git-subtree-dir | tr -d ' ' | cut -d ":" -f2 | sort | uniq
|
||||
}
|
||||
Reference in New Issue
Block a user