Skip to contentSkip to conversation

qf: Use git remote rm instead of git remote remove

PATCH Applied Damien Lespiau 2 participants 2 messages Jun 24, 2014 – Jul 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 qf: Use git remote rm instead of git remote remove

'remove' is not recognized is a slightly older git (1.7.9.5) on a slightly older distro. Use 'rm' instead, which also work on the git version listing 'remove' in git remote help (1.8.3.1).

---
 qf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qf +1 -1
index 67a3ba6..adf95ca 100755
@@ -125,7 +125,7 @@ function repo_init
 	# setup for quilt patch repo
 	git clone --local --no-checkout -- . patches
 	cd patches
-	git remote remove origin
+	git remote rm origin
 
 	# include remotes and branches and all that from parent repo
 	git config include.path ../../.git/config
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 5 lines · Damien Lespiau

'remove' is not recognized is a slightly older git (1.7.9.5) on a slightly older distro. Use 'rm' instead, which also work on the git version listing 'remove' in git remote help (1.8.3.1).

Merged, thanks for the patch.
-Daniel

Quoted 24 lines
---
 qf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qf +1 -1
index 67a3ba6..adf95ca 100755
@@ -125,7 +125,7 @@ function repo_init
 	# setup for quilt patch repo
 	git clone --local --no-checkout -- . patches
 	cd patches
-	git remote remove origin
+	git remote rm origin
 
 	# include remotes and branches and all that from parent repo
 	git config include.path ../../.git/config
Signature · 6 lines
1.8.3.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch