git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: jon@blackcubes.dyndns.org
Cc: Sebastian Kuzminsky <seb@highlab.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: do people use the 'git' command?
Date: Sat, 11 Jun 2005 00:50:40 -0700	[thread overview]
Message-ID: <7vu0k5xrfz.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <2cfc403205061100204cd43334@mail.gmail.com> (Jon Seymour's message of "Sat, 11 Jun 2005 17:20:46 +1000")

>>>>> "JS" == Jon Seymour <jon.seymour@gmail.com> writes:

JS> Then:

JS>     git update-cache 

JS> would work as expected.

I'd rather teach the user to say git-update-cache once they
learned how git works.

Let's stop and think.  Compare lower level binaries and
git-*-script commands, especially paying attention to the level
of operation of what they do.  Notice the difference?

The git-*-script commands are already more or less Porcelain
themselves, and for that reason alone, they deserve to have
CVS/SVN familiarity wrapper.  They are designed to be usable
even by people who are still not familiar with the GIT way of
doing things, and the purpose of the "git" wrapper is to help
these people try putting their toes in the water.  Once they
understand how these scripts work, they either care about
Plumbing because they want to do something existing Porcelain
layers do not offer (in which case they would write their own
Porcelain extensions using Plumbing commands).  Or with luck,
they may not have to worry about Plumbing at all.

I grant you that what the current "git" wrapper offers is not
Porcelain enough, and to perform anything meaningful you either
need to use Porcelain or bare Plumbing commands yourself.  But
when that day comes, "git update-cache" is not something you
would want to have anyway.  You would rather want to have things
like "git add" and "git remove", which are written in terms of
git-update-cache.

See what I am saying?


  reply	other threads:[~2005-06-11  7:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 18:53 do people use the 'git' command? Sebastian Kuzminsky
2005-06-10 18:59 ` Kay Sievers
2005-06-11 17:14   ` Sebastian Kuzminsky
2005-06-10 19:11 ` Jon Seymour
2005-06-11  3:15 ` Junio C Hamano
2005-06-11  5:26   ` Sebastian Kuzminsky
2005-06-11  6:34     ` Jon Seymour
2005-06-11  6:36       ` Jon Seymour
2005-06-11  6:36         ` Jon Seymour
2005-06-11  7:02       ` Junio C Hamano
2005-06-11  7:20         ` Jon Seymour
2005-06-11  7:50           ` Junio C Hamano [this message]
2005-06-11  8:48             ` Jon Seymour
2005-06-11 16:01         ` Tommy M. McGuire
2005-06-11  7:20       ` Russ Allbery
2005-06-11  7:29         ` Jon Seymour
2005-06-11  9:58         ` Junio C Hamano
2005-06-11 16:45           ` Russ Allbery

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=7vu0k5xrfz.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=jon@blackcubes.dyndns.org \
    --cc=seb@highlab.com \
    /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).