Re: BUG: refs.c:1933: reference backend is unknown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 20, 2024 at 05:37:40PM +0000, Ronan Pigott wrote:

[snip]

> The following is an abort in git:
> 
>   $ git --version
>   git version 2.46.1
>   $ git --git-dir=notexist archive  
>   BUG: refs.c:1933: reference backend is unknown
>   zsh: IOT instruction (core dumped)  git --git-dir=notexist archive
> 

The "git-archive(1)" command must accept at least one parameter as
"archive.c::parse_archive_args" shows:

    static int parse_archive_args(...)
    {
        ...
        if (argc < 1)
            usage_with_options(archive_usage, opts);
    }

So, it will print the usage and exit the program. I guess you omit some
things for this bug report. Could you please give us more information to
let us dive into this?

Thanks,
Jialuo




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux