I'm using Git v2.10.2 (finally an update) on macOS Sierra. I noticed in the git log command, whenever I use the -L argument to look at specific lines of code of a file, git log prints out the diff output even when --no-patch is specified clearly. Without the -L, it works as it should behaves.
Is there something I'm missing with the -L parameter? Thanks!
Sample command:
git log --oneline --no-patch -L 1,3:package.json