Open HaleTom opened 5 years ago
git allows referring to a commit by the first 4 hex digits.
git
When these 4 digits are numbers, exec_scmb_expand_args will remove them.
exec_scmb_expand_args
% ge echo foo foo % ge echo 9999 %
Also, null strings should not be removed:
% shell-quote '' '' % shell-quote '' a\ b '' 'a b' % ge shell-quote '' a\ b 'a b'
Yeah, I agree. exec_scmb_expand_args should only consume and resolve digits with matches $e values.
Related to #84
git
allows referring to a commit by the first 4 hex digits.When these 4 digits are numbers,
exec_scmb_expand_args
will remove them.Also, null strings should not be removed: