pull: Add remotename:ref syntax

This is really the common case.
This commit is contained in:
Colin Walters committed 2014-01-21 08:57:34 +00:00
1 parent 35c1fe324f
commit 390b781d3a
2 files changed
+22 -6

No files matched your search

+2
View File
@@ -23,7 +23,9 @@ cd ${test_tmpdir}
mkdir repo
${CMD_PREFIX} ostree --repo=repo init
${CMD_PREFIX} ostree --repo=repo remote add --set=gpg-verify=false origin $(cat httpd-address)/ostree/gnomerepo
# Try both syntaxes
${CMD_PREFIX} ostree --repo=repo pull origin main
${CMD_PREFIX} ostree --repo=repo pull origin:main
${CMD_PREFIX} ostree --repo=repo fsck
echo "ok pull"