diff options
author | Srikant Patnaik | 2015-02-02 15:49:09 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-02-02 15:49:09 +0530 |
commit | dc180593247c46a075cc496e71ad11a54e7babfa (patch) | |
tree | 2043b338629b79b432abd9771d962a91952bdea3 /patcher.sh | |
parent | 031edfe24a8f69771a0f0e34ac7c68e53e0b66bd (diff) | |
download | FOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.tar.gz FOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.tar.bz2 FOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.zip |
[NOT-IMP] Added updates function
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 + + + |