diff options
Diffstat (limited to 'patcher.sh')
-rw-r--r-- | patcher.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patcher.sh b/patcher.sh new file mode 100644 index 0000000..af8ebe0 --- /dev/null +++ b/patcher.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +HEAD_NOW='' +HEAD_PREV='' + +#<check internet> +# +#</check internet> + +#<fetch updates> from github and show +function fetch_updates() { +UPDATES=$(git fetch && \ + comm --nocheck-order -3 \ + <(git log --all --pretty="%H")\ + <(git log --pretty="%H")) +git show -s --format=%B $UPDATES +} + +fetch_updates + + + |