On Sat, Feb 20, 2016 at 9:27 AM, Alexander Kuleshov
wrote:
> git.c: simplify striping extension of a file in handle_builtin()
s/striping/stripping/g
(Note the '/g' above.)
The patch itself looks okay.
> The handle_builtin() starts from striping of command extension if
> STRIP_EXTENSION is enab
The handle_builtin() starts from striping of command extension if
STRIP_EXTENSION is enabled. Actually STRIP_EXTENSION does not used
anywhere else.
This patch introduces strip_extension() helper to strip STRIP_EXTENSION
extension from argv[0] with the strip_suffix() instead of manually
striping.
2 matches
Mail list logo