Lines Matching +full:rev +full:- +full:parse
3 # objdiff - a small script for validating that a commit or series of commits
28 SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd)
30 if [ -z "$SRCTREE" ]; then
63 [ ! -d "$dir" ] && mkdir -p $dir
66 # http://dummdida.tumblr.com/post/60924060451/binary-diff-between-libc-from-scientificlinux-and
67 $STRIP -g $1 -R __bug_table -R .note -R .comment -o $stripped
68 $OBJDUMP -D $stripped | sed -e "s/^[[:space:]]\+[0-9a-f]\+//" -e "s:^$stripped:$1:" > $dis
72 [ $# -eq 0 ] && usage
76 CMT="`git rev-parse --short HEAD`"
82 if [ -d "$d" ]; then
83 for f in $(find $d -name '*.o')
94 [ $# -ne 2 ] && [ $# -ne 0 ] && usage
96 if [ $# -eq 0 ]; then
97 SRC="`git rev-parse --short HEAD^`"
98 DST="`git rev-parse --short HEAD`"
100 SRC="`git rev-parse --short $1`"
101 DST="`git rev-parse --short $2`"
106 if [ ${#DIFF} -eq 0 ] || [ ! -x "$DIFF" ]; then
113 if [ ! -d "$SRCD" ]; then
118 if [ ! -d "$DSTD" ]; then
123 $DIFF -Nurd $SRCD $DSTD
127 [ $# -eq 0 ] && usage
128 [ $# -gt 1 ] && usage
131 rm -rf $TMPD/*
133 CMT="`git rev-parse --short $1`"
135 if [ -d "$TMPD/$CMT" ]; then
136 rm -rf $TMPD/$CMT
143 [ $# -eq 0 ] && usage