Re: Git internal command line parser

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

 



On 24/12/2021 14:38, Lemuria wrote:
> #=< TLDR: Where's the code for git's internal command line parser? >===#
>
> I'm interested in the internals of git, more specifically it's command
> line parser.

One place to start is https://github.com/git/git/blob/master/git.c

>
> Does Git use a library like getopt for it's command line handling, or
> does it use a custom parser?
>
> If possible, I would appreciate being redirected to the source code
> files that handle this.
>
> Sincerely,
> Lemuria

Philip



[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