[csw-devel] SF.net SVN: gar:[17278] csw/mgar/gar/v2/gar.lib.mk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Mar 3 02:53:52 CET 2012


Revision: 17278
          http://gar.svn.sourceforge.net/gar/?rev=17278&view=rev
Author:   bdwalton
Date:     2012-03-03 01:53:42 +0000 (Sat, 03 Mar 2012)
Log Message:
-----------
gar/v2: no longer forcibly add the origin remote since git sets this up properly by default now

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.lib.mk

Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk	2012-03-03 00:20:37 UTC (rev 17277)
+++ csw/mgar/gar/v2/gar.lib.mk	2012-03-03 01:53:42 UTC (rev 17278)
@@ -78,25 +78,21 @@
 git-http//%:
 	@git clone --bare http://$* $(PARTIALDIR)/$(call GITPROJ,$*)
 	@( cd $(PARTIALDIR)/$(call GITPROJ,$*); \
-		git remote add origin http://$*; \
 		git config remote.origin.fetch $(if $(GIT_REFS_$(call GITPROJ,$*)),$(GIT_REFS_$(call GITPROJ,$*)),$(GIT_DEFAULT_TRACK)); )
 
 git//%:
 	@$(GIT_MAYBEPROXY) git clone --bare git://$* $(PARTIALDIR)/$(call GITPROJ,$*)
 	@( cd $(PARTIALDIR)/$(call GITPROJ,$*); \
-		git remote add origin git://$*; \
 		git config remote.origin.fetch $(if $(GIT_REFS_$(call GITPROJ,$*)),$(GIT_REFS_$(call GITPROJ,$*)),$(GIT_DEFAULT_TRACK)); )
 
 git-file//%:
 	@git clone --bare file:///$* $(PARTIALDIR)/$(call GITPROJ,$*)
 	@( cd $(PARTIALDIR)/$(call GITPROJ,$*); \
-		git remote add origin file://$*; \
 		git config remote.origin.fetch $(if $(GIT_REFS_$(call GITPROJ,$*)),$(GIT_REFS_$(call GITPROJ,$*)),$(GIT_DEFAULT_TRACK)); )
 
 git-ssh//%:
 	@git clone --bare ssh://$* $(PARTIALDIR)/$(call GITPROJ,$*)
 	@( cd $(PARTIALDIR)/$(call GITPROJ,$*); \
-		git remote add origin ssh://$*; \
 		git config remote.origin.fetch $(if $(GIT_REFS_$(call GITPROJ,$*)),$(GIT_REFS_$(call GITPROJ,$*)),$(GIT_DEFAULT_TRACK)); )
 
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list