Re: Possible segfault with `git clone --mirror`
- From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
- Date
- Apr 26, 2021, 00:39 UTC
- Message-ID
- <YIYL2BtIacMIthgy@danh.dev>
- In-Reply-To
- <CACAwW2gHBPRujCV0LSS3p1Td_GkiGG87U6QPLVrp69ShVNnPTA@mail.gmail.com>
On 2021-04-25 21:17:50+0300, Kostya M <kostya27@gmail.com> wrote:
Show 8 quoted lines
> Git 2.31.1, reproduced on Ubuntu 20.04.01, and Arch Linux. > > `git clone -c core.askPass=true --mirror --quiet -- > https://github.com/kostya/myhtml.git myhtml` > Segmentation fault (core dumped) > > If i remove --mirror argument, it works. > This command generated by crystal language package manager called shards.
Not reproducible.
You may want to check if it's your config or filesystem first?
If I were you, I would run something like this to see if it works: (Maybe with GIT_TRACE2=1 removed in first run to see if it's your config)
HOME=/tmp/not-exist XDG_CONFIG_HOME=/tmp/not-exist GIT_TRACE2=1 \ /usr/bin/git clone -c core.askPass=true --mirror --quiet -- \ https://github.com/kostya/myhtml.git myhtml
-- Danh