Subject: Re: Considering teaching plumbing to users harmful

From: Junio C Hamano <[email-masked]>
Date: Thu, 17 Jul 2008 11:29:13 -0700

Johannes Schindelin <[email-masked]> writes:

>> 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
>
> How about "git add -u" and "git add ."?

It would work only if new version never removes files.