created hw-core bash libraries

will be traited as a git subtree
This commit is contained in:
Yehonal
2016-08-13 20:25:34 +02:00
parent 86fc3b01f4
commit ff6201921c
5 changed files with 17 additions and 3 deletions

View 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

View File

@@ -0,0 +1,3 @@
function hwc_git_subtree_list() {
git log | grep git-subtree-dir | tr -d ' ' | cut -d ":" -f2 | sort | uniq
}