Re: git diff HEAD^(255) fails

2016-02-23 Thread Kevin Daudt
On Sat, Feb 06, 2016 at 10:56:46PM +0100, Ole Tange wrote: > git diff first looks for a file, then looks if it is a reference to a > revision. If the file fails due to being too long, the diff fails: > > $ git init > $ git diff > 'HEAD^^

git diff HEAD^(255) fails

2016-02-06 Thread Ole Tange
git diff first looks for a file, then looks if it is a reference to a revision. If the file fails due to being too long, the diff fails: $ git init $ git diff 'HEAD^