X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Ffetch-localgitonly;fp=tests%2Ftests%2Ffetch-localgitonly;h=7937a6f3600e2bdcb7112cd0418dc13229c0081f;hp=0000000000000000000000000000000000000000;hb=696041cc0947c182a8fcf03c8cd4c37f37cddf1c;hpb=39dafe5aef79bef3817c0d3fabc001b244a9dcc5 diff --git a/tests/tests/fetch-localgitonly b/tests/tests/fetch-localgitonly new file mode 100755 index 00000000..7937a6f3 --- /dev/null +++ b/tests/tests/fetch-localgitonly @@ -0,0 +1,16 @@ +#!/bin/bash +set -e +. tests/lib + +t-archive pari-extra 3-2~dummy1 +t-git-none +t-worktree 3-1 +cd $p +old=`git rev-parse HEAD` + +t-dgit pull + +t-cloned-fetched-good +t-has-ancestor $old + +echo ok