summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-02 15:49:09 +0530
committerSrikant Patnaik2015-02-02 15:49:09 +0530
commitdc180593247c46a075cc496e71ad11a54e7babfa (patch)
tree2043b338629b79b432abd9771d962a91952bdea3
parent031edfe24a8f69771a0f0e34ac7c68e53e0b66bd (diff)
downloadFOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.tar.gz
FOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.tar.bz2
FOSSEE-netbook-tools-dc180593247c46a075cc496e71ad11a54e7babfa.zip
[NOT-IMP] Added updates function
-rw-r--r--patcher.sh22
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
+
+
+