From dc180593247c46a075cc496e71ad11a54e7babfa Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Mon, 2 Feb 2015 15:49:09 +0530 Subject: [NOT-IMP] Added updates function --- patcher.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patcher.sh 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='' + +# +# +# + +# 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 + + + -- cgit