Re: BUG? git log --no-merges shows grafted merges in shallow clones

2016-02-26 Thread Junio C Hamano
Matthieu Moy writes: > Junio C Hamano writes: > >> I do not think this is limited to shallow but for grafts in >> general. > > Probably yes. I happen to only use grafts in shallow clones ;-). > >> cat-file is low-level to show the bare metal,

Re: BUG? git log --no-merges shows grafted merges in shallow clones

2016-02-26 Thread Matthieu Moy
Junio C Hamano writes: > I do not think this is limited to shallow but for grafts in > general. Probably yes. I happen to only use grafts in shallow clones ;-). > cat-file is low-level to show the bare metal, but by using these > facility you asked Git to give you an

BUG? git log --no-merges shows grafted merges in shallow clones

2016-02-26 Thread Matthieu Moy
Hi, I don't think that's intended. When running "git log --no-merges" in a shallow clone, and the last commit in the history is a merge commit, "git log --no-merges" still shows it. I've just hit this in a test running on a --depth=50 clone on Travis-CI on git-multimail: $ git cat-file -p