On Thu, Jan 23, 2014 at 11:45:25AM +0900, IWAMOTO Toshihiro wrote:
> I found "git-diff --quiet" returns a zero exit status even if there's
> a change. The following sequence reproduces the bug:
>
> $ mkdir foo
> $ cd foo
> $ git init
> $ echo a > a.txt
> $ echo b >b.txt
> $ git add ?.
I found "git-diff --quiet" returns a zero exit status even if there's
a change. The following sequence reproduces the bug:
$ mkdir foo
$ cd foo
$ git init
$ echo a > a.txt
$ echo b >b.txt
$ git add ?.txt
$ git commit
$ echo b >> b.txt
$ touch a.txt
$ git diff --quiet; echo $?
2 matches
Mail list logo