author | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 5 Jul 2005 19:12:50 +0000 (12:12 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 5 Jul 2005 19:12:50 +0000 (12:12 -0700) | ||
commit | 12ba7eaf1d8188ff85439abb98c5ce64cc81b319 | |
tree | 7618abdec582a9360eab44580b87f37d658b0e9f | tree | snapshot |
parent | bbca20accefe8329f976371d0d8c111c965cdf1a | commit | diff |
Remove unnecessary usage of strncmp() in git-rev-list arg parsing.
Not only is it unnecessary, it incorrectly allows extraneous characters
at the end of the argument.
Junio noticed the --merge-order thing, and Jon points out that if we fix
that one, we should fix --show-breaks too.
Not only is it unnecessary, it incorrectly allows extraneous characters
at the end of the argument.
Junio noticed the --merge-order thing, and Jon points out that if we fix
that one, we should fix --show-breaks too.
rev-list.c | diff | blob | history |