git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: git@vger.kernel.org
Subject: [PATCH] Use "-script" postfix for scripts
Date: Fri, 12 Aug 2005 15:28:27 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0508121526050.25606@wgmdd8.biozentrum.uni-wuerzburg.de> (raw)


For consistency reasons, the names of all scripts should end in "-script".

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>

---

This may be a bit controversial (people might find it unnecessary). 
Subject to discussion.

---

 Makefile                   |   15 ++++++++-------
 git-cherry-script          |    0 
 git-clone-dumb-http-script |    0 
 git-clone-script           |    2 +-
 git-rebase-script          |    4 ++--
 git-request-pull-script    |    4 ++--
 git-shortlog-script        |    0 
 git-whatchanged-script     |    0 
 8 files changed, 13 insertions(+), 12 deletions(-)
 rename git-cherry => git-cherry-script (100%)
 rename git-clone-dumb-http => git-clone-dumb-http-script (100%)
 rename git-shortlog => git-shortlog-script (100%)
 rename git-whatchanged => git-whatchanged-script (100%)

5cc55f08d874b61f1067857c7310fac325504ec8
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -58,15 +58,16 @@ SPARSE_FLAGS?=-D__BIG_ENDIAN__ -D__power
 
 
 SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
-	git-pull-script git-tag-script git-resolve-script git-whatchanged \
-	git-fetch-script git-status-script git-commit-script \
-	git-log-script git-shortlog git-cvsimport-script git-diff-script \
-	git-reset-script git-add-script git-checkout-script git-clone-script \
-	gitk git-cherry git-rebase-script git-relink-script git-repack-script \
+	git-pull-script git-tag-script git-resolve-script \
+	git-whatchanged-script git-fetch-script git-status-script \
+	git-commit-script git-log-script git-shortlog-script \
+	git-cvsimport-script git-diff-script git-reset-script git-add-script \
+	git-checkout-script git-clone-script gitk git-cherry-script \
+	git-rebase-script git-relink-script git-repack-script \
 	git-format-patch-script git-sh-setup-script git-push-script \
 	git-branch-script git-parse-remote git-verify-tag-script \
-	git-ls-remote-script git-clone-dumb-http git-rename-script \
-	git-request-pull-script git-bisect-script
+	git-ls-remote-script git-clone-dumb-http-script \
+	git-rename-script git-request-pull-script git-bisect-script
 
 SCRIPTS += git-count-objects-script
 # SCRIPTS += git-send-email-script
diff --git a/git-cherry b/git-cherry-script
similarity index 100%
rename from git-cherry
rename to git-cherry-script
diff --git a/git-clone-dumb-http b/git-clone-dumb-http-script
similarity index 100%
rename from git-clone-dumb-http
rename to git-clone-dumb-http-script
diff --git a/git-clone-script b/git-clone-script
--- a/git-clone-script
+++ b/git-clone-script
@@ -89,7 +89,7 @@ yes,yes)
 		rsync $quiet -avz --ignore-existing "$repo/refs/" "$D/.git/refs/"
 		;;
 	http://*)
-		git-clone-dumb-http "$repo" "$D"
+		git-clone-dumb-http-script "$repo" "$D"
 		case "$?" in
 		2)
 			echo "Somebody should define smarter http server protocol" >&2
diff --git a/git-rebase-script b/git-rebase-script
--- a/git-rebase-script
+++ b/git-rebase-script
@@ -7,7 +7,7 @@
 
 usage="usage: $0 "'<upstream> [<head>]
 
-Uses output from git-cherry to rebase local commits to the new head of
+Uses output from git-cherry-script to rebase local commits to the new head of
 upstream tree.'
 
 case "$#,$1" in
@@ -36,7 +36,7 @@ trap "rm -rf $tmp-*" 0 1 2 3 15
 
 >$fail
 
-git-cherry $upstream $ours |
+git-cherry-script $upstream $ours |
 while read sign commit
 do
 	case "$sign" in
diff --git a/git-request-pull-script b/git-request-pull-script
--- a/git-request-pull-script
+++ b/git-request-pull-script
@@ -24,12 +24,12 @@ headrev=`git-rev-parse --verify $head^0`
 
 echo "The following changes since commit $baserev:"
 git log --max-count=1 --pretty=short "$baserev" |
-git-shortlog | sed -e 's/^\(.\)/  \1/'
+git-shortlog-script | sed -e 's/^\(.\)/  \1/'
 
 echo "are found in the git repository at:" 
 echo
 echo "  $url"
 echo
 
-git log  $baserev..$headrev | git-shortlog ;
+git log  $baserev..$headrev | git-shortlog-script ;
 git diff $baserev..$headrev | git-apply --stat --summary
diff --git a/git-shortlog b/git-shortlog-script
similarity index 100%
rename from git-shortlog
rename to git-shortlog-script
diff --git a/git-whatchanged b/git-whatchanged-script
similarity index 100%
rename from git-whatchanged
rename to git-whatchanged-script

             reply	other threads:[~2005-08-12 13:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12 13:28 Johannes Schindelin [this message]
2005-08-12 15:32 ` [PATCH] Use "-script" postfix for scripts Junio C Hamano
2005-08-12 16:00   ` Johannes Schindelin
2005-08-12 21:55   ` Linus Torvalds
2005-08-12 22:27     ` Ryan Anderson
2005-08-13  8:57       ` Junio C Hamano
2005-08-13 16:35         ` Linus Torvalds
2005-08-13 22:25         ` Ryan Anderson
2005-08-13 22:28           ` Petr Baudis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0508121526050.25606@wgmdd8.biozentrum.uni-wuerzburg.de \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).