Skip to content

Commit 54079c0

Browse files
committed
fixup! git: allow alias-shadowing deprecated builtins
1 parent ebeca25 commit 54079c0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

git.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,7 @@ static int run_argv(struct strvec *args)
821821
* deprecation complaint in the meantime.
822822
*/
823823
if (is_deprecated_command(args->v[0]) &&
824-
alias_lookup(args->v[0])) {
825-
if (!handle_alias(args))
826-
break;
824+
handle_alias(args)) {
827825
done_alias = 1;
828826
continue;
829827
}

0 commit comments

Comments
 (0)