Re: No "invalid option" message with git diff --cached --invalid-option

2017-06-22 Thread Jeff King
On Thu, Jun 22, 2017 at 02:44:58PM +0200, Simon Ruderich wrote: > I'm using Git 2.13.1 (from the Debian sid repository) and noticed > the following issue when upgrading. > > $ git diff --compaction-heuristic > error: invalid option: --compaction-heuristic > > $ git diff --cached --co

No "invalid option" message with git diff --cached --invalid-option

2017-06-22 Thread Simon Ruderich
Hello, I'm using Git 2.13.1 (from the Debian sid repository) and noticed the following issue when upgrading. $ git diff --compaction-heuristic error: invalid option: --compaction-heuristic $ git diff --cached --compaction-heuristic usage: git diff [] [ []] [--] [...] I know that