diff options
| author | Philippe Blain <levraiphilippeblain@gmail.com> | 2022-10-21 15:13:36 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-21 13:51:06 -0700 |
| commit | 7990142eb1b6fdd60e87f63f003bc593fc105260 (patch) | |
| tree | 518de4c572b4840c9dbbd0787dc23c6e0f0716bb /commit.c | |
| parent | subtree: define a variable before its first use in 'find_latest_squash' (diff) | |
| download | git-7990142eb1b6fdd60e87f63f003bc593fc105260.tar.gz git-7990142eb1b6fdd60e87f63f003bc593fc105260.zip | |
subtree: use named variables instead of "$@" in cmd_pull
'cmd_pull' already checks that only two arguments are given,
'repository' and 'ref'. Define variables with these names instead of
using the positional parameter $2 and "$@".
This will allow a subsequent commit to pass 'repository' to 'cmd_merge'.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
