Adding arm-linux-perf notes ref to tools/pull.sh and tools/log.sh.
This commit is contained in:
+1
-1
@@ -14,5 +14,5 @@
|
|||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
git log --show-notes=perf --show-notes=mem --show-notes=test_build_env
|
git log --show-notes=perf --show-notes=arm-linux-perf --show-notes=mem --show-notes=test_build_env
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
+8
-14
@@ -14,14 +14,6 @@
|
|||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
trap ctrl_c INT
|
|
||||||
|
|
||||||
function ctrl_c() {
|
|
||||||
git checkout master >&/dev/null
|
|
||||||
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
status_code=$?
|
status_code=$?
|
||||||
|
|
||||||
@@ -32,10 +24,12 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for notes_ref in perf mem test_build_env
|
git fetch origin refs/notes/*:refs/notes/*
|
||||||
do
|
status_code=$?
|
||||||
git checkout refs/notes/$notes_ref
|
|
||||||
git pull --rebase origin refs/notes/$notes_ref
|
|
||||||
done
|
|
||||||
|
|
||||||
git checkout master >&/dev/null
|
if [ $status_code -ne 0 ]
|
||||||
|
then
|
||||||
|
echo "Pulling notes failed"
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user