From: Johannes Sixt Date: Thu, 10 Feb 2011 07:46:35 GMT Subject: Re: "git add -u" broken in git 1.7.4? Message-ID: <4D5397DB.3060609@viscovery.net> In-Reply-To: <20110209234621.GA12575@sigill.intra.peff.net> Am 2/10/2011 0:46, schrieb Jeff King: > The current behavior is: > > add: error (and suggest "git add .") > add -u: relative > add -A: relative > add -i: full-tree > add -p: full-tree > archive: relative > checkout: full-tree (e.g., "git checkout -f")[1] > checkout-index: n/a (only checks out arguments) > clean: relative > commit -a: full-tree[2] > diff: full-tree > diff-files: full-tree > grep: relative > ls-files: relative > ls-tree: relative[3] > status: shows full-tree, relative by default, absolute > with status.relativePaths > reset --hard: full-tree[4] > log/show/etc: full-tree[5] > blame: error[6] rerere forget: relative It is a destructive command, and the rerere cache is precious, IMO. Therefore, I'd vote to make 'git rerere forget' without a pathspec an error. -- Hannes