Re: Considering teaching plumbing to users harmful
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- Jul 17, 2008, 15:55 UTC
- Message-ID
- <20080717155538.GE11759@fieldses.org>
- In-Reply-To
- <7vmykhpn6z.fsf@gitster.siamese.dyndns.org>
On Wed, Jul 16, 2008 at 01:51:31PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > Am I the only one who deems teaching plumbing to users ("I like it raw!
> > So I teach it the same way!") harmful?
>
> I think that justification is harmful.
>
> More productive way to think about it is to identify cases where we _need_
> to go down to combination of the plumbing commands in our daily workflow,
> with today's command set. That would give us a good indication that some
> Porcelain may need to be enhanced.Is there a way to commit the contents of a tarball without using plumbing? I occasionally want to track an upstream that I know only as a series of tarballs, so I do something like:
cd repo/ git checkout upstream rm -rf * tar -xzvf ../new-version.tar.gz
Then I spend some time mucking around with git-add and git-rm and eventually end up having to do some sort of git ls-files | git update-index pipeline.
--b.