3 ms·
Currently, git log -- a -- prints all commits that affects the files whose name is a or two dashes.
by gene91 2mo ago
Currently, git log -- a -- prints all commits that affects the files whose name is a or two dashes.
- epistasis 2mo agoYes, that would change behavior slightly. To restore behavior for pathspecs including a "--" file, you would need to add an additional -- to make the revspec explicitly blank: git log -- -- a --
- gene91 2mo agoPreviously working command needs to continue behave the same way. Your original proposal was intended to provide backward compatibility (your third point in original comment), and that’s an important part of why it could work.