Re: [PATCH 2/2] read-tree: at least one tree-ish argument is required
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Dec 18, 2009, 19:37 UTC
- Message-ID
- <fabb9a1e0912181137t1265f86cs9e02019da136a0a@mail.gmail.com>
- In-Reply-To
- <7voclwxemf.fsf@alter.siamese.dyndns.org>
Heya,
On Fri, Dec 18, 2009 at 13:32, Junio C Hamano <gitster@pobox.com> wrote:
> Sure, it will empty the index, so it is dangerous in the same sense that > "reset --hard" is dangerous because it will wipe all your local changes, > or "rm -rf it" will remove everything underneath it.
With the difference that both 'reset --hard' and 'rm -rf' need a flag to do their destructive work? Although 'git reset' might be just as destructive if you've been using 'git add -p' a lot or something, mhh...
-- Cheers, Sverre Rabbelier