From: Junichi Uekawa <dancer@netfort.gr.jp>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junichi Uekawa <dancer@netfort.gr.jp>, git@vger.kernel.org
Subject: Re: [ANNOUNCE] GIT 1.5.4
Date: Sun, 03 Feb 2008 12:16:24 +0900 [thread overview]
Message-ID: <877ihmivav.dancerj%dancer@netfort.gr.jp> (raw)
In-Reply-To: <alpine.LSU.1.00.0802030210240.7372@racer.site>
Hi,
> That woul be surprising. Git was not invented until early April 2005. At
> the moment I still wait (impatiently, because then my current contract
> ends) for April 2008.
>
> The important thing to realise is that time is such a wonderful dimension
> to be exposed to: not only do you live (experience things that you did not
> know before), but also other people live and learn.
>
> IOW even Linus realised that the git-xxx format is not _that_ good. Which
> is why -- as you should have realised if you did not subscribe 5 minutes
> ago -- we do not recommend git-xxx at all, but insist on "git xxx".
I didn't realize that.
Git doesn't give any warnings, and manpages give the dashed examples
only.
Although I was subscribed to git-list from day 1, I must admit that
these days I don't read this list too closely (hence being caught in
surprise at this point).
I assume things started with the following commit; but really, can we
please start with some deprecation notice before really moving it
around in user-visible location.
commit 36e5e70e0f40cf7ca4351b8159d68f8560a2805f
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat Jun 30 11:49:17 2007 -0700
Start deprecating "git-command" in favor of "git command"
I realize that a lot of people use the "git-xyzzy" format, and we have
various historical reasons for it, but I also think that most people have
long since started thinking of the git command as a single command with
various subcommands, and we've long had the documentation talk about it
that way.
Slowly migrating away from the git-xyzzy format would allow us to
eventually no longer install hundreds of binaries (even if most of them
are symlinks or hardlinks) in users $PATH, and the _original_ reasons for
it (implementation issues and bash completion) are really long long gone.
Using "git xyzzy" also has some fundamental advantages, like the ability
to specify things like paging ("git -p xyzzy") and making the whole notion
of aliases act like other git commands (which they already do, but they do
*not* have a "git-xyzzy" form!)
Anyway, while actually removing the "git-xyzzy" things is not practical
right now, we can certainly start slowly to deprecate it internally inside
git itself - in the shell scripts we use, and the test vectors.
This patch adds a "remove-dashes" makefile target, which does that. It
isn't particularly efficient or smart, but it *does* successfully rewrite
a lot of our shell scripts to use the "git xyzzy" form for all built-in
commands.
(For non-builtins, the "git xyzzy" format implies an extra execve(), so
this script leaves those alone).
So apply this patch, and then run
make remove-dashes
make test
git commit -a
to generate a much larger patch that actually starts this transformation.
(The only half-way subtle thing about this is that it also fixes up
git-filter-branch.sh for the new world order by adding quoting around
the use of "git-commit-tree" as an argument. It doesn't need it in that
format, but when changed into "git commit-tree" it is no longer a single
word, and the quoting maintains the old behaviour).
NOTE! This does not yet mean that you can actually stop installing the
"git-xyzzy" binaries for the builtins. There are some remaining places
that want to use the old form, this just removes the most obvious ones
that can easily be done automatically.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
next prev parent reply other threads:[~2008-02-03 3:17 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-02 4:34 [ANNOUNCE] GIT 1.5.4 Junio C Hamano
2008-02-02 9:25 ` Junichi Uekawa
2008-02-02 15:58 ` Johannes Schindelin
2008-02-03 1:00 ` Junichi Uekawa
2008-02-03 2:14 ` Johannes Schindelin
2008-02-03 3:16 ` Junichi Uekawa [this message]
2008-02-03 3:24 ` Johannes Schindelin
2008-02-03 3:51 ` Junichi Uekawa
2008-02-03 5:32 ` Christian Couder
2008-02-03 10:50 ` Johannes Schindelin
2008-02-03 10:38 ` Pierre Habouzit
2008-02-03 12:56 ` Theodore Tso
2008-02-03 15:08 ` Matthieu Moy
2008-02-03 15:34 ` [ANNOUNCE] GIT 1.5.4 (git popularity) Jakub Narebski
2008-02-03 19:27 ` [ANNOUNCE] GIT 1.5.4 Theodore Tso
2008-02-04 20:35 ` Jari Aalto
2008-02-02 9:45 ` しらいしななこ
2008-02-02 12:11 ` Wincent Colaiuta
2008-02-02 22:42 ` Steffen Prohaska
2008-02-07 12:31 ` Luciano Rocha
2008-02-07 12:55 ` [msysGit] " Johannes Schindelin
2008-02-07 13:07 ` Luciano Rocha
2008-02-07 13:28 ` Johannes Schindelin
2008-02-07 13:43 ` David Kastrup
[not found] ` <alpine.LSU.1.00.0802071324460.8543-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-07 13:53 ` Steffen Prohaska
2008-02-07 17:30 ` Junio C Hamano
[not found] ` <7v1w7ooes3.fsf-jO8aZxhGsIagbBziECNbOZn29agUkmeCHZ5vskTnxNA@public.gmane.org>
2008-02-07 18:40 ` Johannes Schindelin
[not found] ` <alpine.LSU.1.00.0802071831520.8543-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-07 18:59 ` Luciano Rocha
2008-02-07 19:08 ` [msysGit] " Johannes Schindelin
[not found] ` <alpine.LSU.1.00.0802071906120.8543-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-07 21:02 ` Jeremy Maitin-Shepard
2008-02-07 19:42 ` [msysGit] " Junio C Hamano
[not found] ` <7vprv8mu2k.fsf-jO8aZxhGsIagbBziECNbOZn29agUkmeCHZ5vskTnxNA@public.gmane.org>
2008-02-07 19:59 ` Linus Torvalds
[not found] ` <alpine.LFD.1.00.0802071157360.2896-5CScLwifNT1QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
2008-02-07 20:58 ` Steffen Prohaska
2008-02-08 1:53 ` [msysGit] " Johannes Schindelin
[not found] ` <alpine.LSU.1.00.0802080143440.11591-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-08 9:22 ` Schuberth, Sebastian
[not found] ` <E6DFE65BB5ADFE44BE13CCC976124447D5BCC8-xoGCv1uRt2M6PgvdBIHKsVaTQe2KTcn/@public.gmane.org>
2008-02-08 11:14 ` Steffen Prohaska
2008-02-07 20:23 ` Dmitry Potapov
2008-02-07 21:49 ` [msysGit] " Jonathan del Strother
[not found] ` <57518fd10802071349w50446803q249cbda0e2998bc5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-02-07 22:18 ` Dmitry Potapov
[not found] ` <20080207221837.GQ30368-EQL4cN526mwi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
2008-02-07 22:48 ` Linus Torvalds
2008-02-07 22:46 ` Jari Aalto
[not found] ` <20080207130715.GA14000-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-02-07 14:53 ` Nicolas Pitre
2008-02-07 15:59 ` [msysGit] " Luciano Rocha
2008-02-07 16:12 ` Jakub Narebski
2008-02-07 16:21 ` David Kastrup
[not found] ` <20080207155946.GA20459-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-02-07 16:35 ` Nicolas Pitre
2008-02-07 16:41 ` David Kastrup
[not found] ` <alpine.LFD.1.00.0802071133230.2732-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2008-02-07 16:53 ` Johannes Schindelin
[not found] ` <alpine.LSU.1.00.0802071651440.8543-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-07 18:55 ` Luciano Rocha
2008-02-07 18:52 ` [msysGit] " Luciano Rocha
2008-02-07 17:01 ` Steffen Prohaska
2008-02-07 17:15 ` David Kastrup
[not found] ` <alpine.LFD.1.00.0802070949460.2732-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2008-02-09 9:25 ` Andreas Ericsson
[not found] ` <alpine.LSU.1.00.0802071255110.8543-OGWIkrnhIhzN0uC3ymp8PA@public.gmane.org>
2008-02-07 13:23 ` Eyvind Bernhardsen
2008-02-07 13:25 ` [msysGit] " David Kastrup
[not found] ` <86k5lguce2.fsf-Gv3ZRPJT63HkqtzbHXq1RqVXKuFTiq87@public.gmane.org>
2008-02-07 14:04 ` Michael Poole
2008-02-07 14:29 ` David Kastrup
[not found] ` <86tzkksuua.fsf-Gv3ZRPJT63HkqtzbHXq1RqVXKuFTiq87@public.gmane.org>
2008-02-07 16:02 ` Michael Poole
2008-02-07 16:13 ` David Kastrup
2008-02-07 18:10 ` [msysGit] " Jari Aalto
[not found] ` <20080207123108.GA12009-oEplIgxCSygGFt9iVWuREaMaJEuR8uiQ@public.gmane.org>
2008-02-07 19:58 ` Dmitry Potapov
2008-02-03 17:55 ` Dmitry Potapov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877ihmivav.dancerj%dancer@netfort.gr.jp \
--to=dancer@netfort.gr.jp \
--cc=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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.