Message ID | pull.865.v2.git.1612773119.gitgitgadget@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | builtin/clone.c: add --no-shallow option | expand |
On 2/8/2021 3:31 AM, Li Linchao via GitGitGadget wrote: > Range-diff vs v1: > > 1: 594323684af0 = 1: 2f9602495eb5 builtin/clone.c: add --no-shallow option > -: ------------ > 2: cfcfc3ec6b37 builtin/clone.c: add --reject-shallow option You should rewrite your history to make this one commit again. You can do this by running 'git rebase -i HEAD~2' then editing the todo file to 'squash' the second commit in to the first. You will be prompted to edit the combined commit message, and you should preserve only the message from the second commit. Thanks, -Stolee
Change since v1: * Rename --no-shallow to --reject-shallow * Enable to reject a non-local clone * Enable --[no-]reject-shallow from CLI override configuration. * Add more testcases. * Reword commit messages and relative documentation. Signed-off-by: lilinchao lilinchao@oschina.cn lilinchao (2): builtin/clone.c: add --no-shallow option builtin/clone.c: add --reject-shallow option Documentation/config/clone.txt | 4 ++++ Documentation/git-clone.txt | 20 ++++++++++++++++++- builtin/clone.c | 35 ++++++++++++++++++++++++++++++++- t/t5606-clone-options.sh | 36 ++++++++++++++++++++++++++++++++++ t/t5611-clone-config.sh | 32 ++++++++++++++++++++++++++++++ 5 files changed, 125 insertions(+), 2 deletions(-) base-commit: fb7fa4a1fd273f22efcafdd13c7f897814fd1eb9 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-865%2FCactusinhand%2Fgit-clone-options-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-865/Cactusinhand/git-clone-options-v2 Pull-Request: https://github.com/gitgitgadget/git/pull/865 Range-diff vs v1: 1: 594323684af0 = 1: 2f9602495eb5 builtin/clone.c: add --no-shallow option -: ------------ > 2: cfcfc3ec6b37 builtin/clone.c: add --reject-shallow option