From 937b31bb2d4bdc5490d3ef3bf7f9d568b20b9842 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Nowak?= Date: Thu, 26 Jan 2012 10:27:26 +0100 Subject: [PATCH] Readability & consistency: use only long arguments. --- stack/erp5.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/erp5.cfg b/stack/erp5.cfg index 77880e9..f70b07c 100644 --- a/stack/erp5.cfg +++ b/stack/erp5.cfg @@ -228,7 +228,7 @@ stop-on-error = true repository = http://git.erp5.org/repos/erp5.git branch = master revision = -command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n "${:revision}" ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi +command = ${git:location}/bin/git clone --quiet --branch ${:branch} ${:repository} ${:location} && if [ -n "${:revision}" ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n "${:revision}" ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi [products] -- 2.1.4