Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d1f9f7a0b74883946dc58c9a67f1eb57ad24c722

commit d1f9f7a0b74883946dc58c9a67f1eb57ad24c722
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Wed Sep 5 14:42:19 2007 +0200

scm.sh: use git checkout after git pull

diff --git a/source/include/scm.sh b/source/include/scm.sh
index ad99ebd..1add83a 100644
--- a/source/include/scm.sh
+++ b/source/include/scm.sh
@@ -133,7 +133,7 @@ Funpack_scm()
elif [ "$_F_scm_type" == "git" ]; then
if [ -d $pkgname ]; then
cd $pkgname
-                       git pull
+                       git pull && git checkout -f
else
git clone $_F_scm_url $pkgname || Fdie
cd $pkgname
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to