]> git.wincent.com - docvim.git/commitdiff
Teach bin/get to grab from HEAD, not master
authorGreg Hurrell <greg@hurrell.net>
Sun, 12 Jun 2016 22:15:31 +0000 (15:15 -0700)
committerGreg Hurrell <greg@hurrell.net>
Sun, 12 Jun 2016 22:15:31 +0000 (15:15 -0700)
Seeing as Command-T is usually pointing at next, for example, and I don't want
to add the complexity of special-casing this at this point.

bin/get

diff --git a/bin/get b/bin/get
index 7899c0c9cd2476616e37f4439fc1f0a4ed256a0e..09ea6309fd7f570139f1a300ac03d2f5875478e4 100755 (executable)
--- a/bin/get
+++ b/bin/get
@@ -24,7 +24,7 @@ update() {
   local PROJECT
   PROJECT="$1"
   echo "Updating $PROJECT"
-  git --git-dir "../$PROJECT/.git" archive --prefix="$PROJECT/input/" master \
+  git --git-dir "../$PROJECT/.git" archive --prefix="$PROJECT/input/" HEAD \
     | tar -x -C tests/fixtures/integration -f -
   mkdir -p "tests/fixtures/integration/$PROJECT/golden"
 }