chiark / gitweb /
test suite: chmod a+r $AUTOPKGTEST explicitly.
[dgit.git] / tests / playtree-save-refs
1 #!/bin/bash
2 set -e
3 set -o pipefail
4 find -name .git -type d -exec sh -xec '
5         cd "$1"
6         git for-each-ref \
7  --format='\''update refs/dgit-test-keep/g%(objectname) %(objectname)'\'' \
8 ' x "{}" \; | \
9         sort -u | git update-ref --stdin