summaryrefslogtreecommitdiff
path: root/patcher.sh
blob: d2564811b116aa99f312cc52e3de479329b41dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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
}