chiark
/
gitweb
/
~ianmdlvl
/
dgit-junk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do a thing with tested.other
[dgit-junk.git]
/
sometest-run
diff --git
a/sometest-run
b/sometest-run
index f5c74e49c805fcfb5b0b560a71923545b13ad178..43b941e031e559c167dc2819f6e5cf4c7516782e 100755
(executable)
--- a/
sometest-run
+++ b/
sometest-run
@@
-3,4
+3,13
@@
set -e
set -o pipefail
set -e
set -o pipefail
+if [ "$(git-for-each-ref '[r]efs/remotes/main/tested.other')" ]; then
+ this=$(git-log -n1 --pretty=format:%T)
+ if git log --pretty=format:%T HEAD..main/tested.other \
+ | grep -xF "$this"; then
+ echo 'EQUAL TREE'
+ exit 0
+ fi
+fi
+
time nice tests/using-intree tests/run-all
time nice tests/using-intree tests/run-all