patch to remove cg from cogito

From: Sebastian Kuzminsky <hidden>
Date: 2016-06-15 22:41:59
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

Cogito wants to install an executable named "cg", but that's already taken
by cgvg <http://uzix.org/cgvg.html>.  I guess if people dont mind git
conflicting with that other git, probably no one will mind this either...
Just thought I'd put this out there:


 b/Makefile |    2 +-
 cg         |    7 -------
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@
 	cg-branch-add cg-branch-ls cg-cancel cg-clone cg-commit cg-diff \
 	cg-export cg-help cg-init cg-log cg-merge cg-mkpatch cg-patch \
 	cg-pull cg-restore cg-rm cg-seek cg-status cg-tag cg-tag-ls cg-update \
-	cg cg-admin-ls
+	cg-admin-ls
 
 LIB_SCRIPT=cg-Xlib cg-Xmergefile cg-Xnormid
 
diff --git a/cg b/cg
deleted file mode 100755
--- a/cg
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-cmd="$1"; shift
-( [ x"$cmd" = x"--help" ] || [ x"$cmd" = x ] ) && exec cg-help
-
-exe="cg-$cmd"
-exec $exe "$@"

-- 
Sebastian Kuzminsky
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help