Re: Git Option/Subcommand Processing Library?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 25, 2009, 16:32 UTC
- Message-ID
- <alpine.DEB.1.00.0907251830420.8306@pacific.mpi-cbg.de>
- In-Reply-To
- <231BD892-07B1-452C-A224-047829E21991@gmail.com>
Hi,
On Sat, 25 Jul 2009, Michael Bergin wrote:
> Is there a library containing just the option and subcommand processing > code from git? I saw a post about gitopt but can't find a project with > that name.
The "library" is contained in the files parse-options.[ch] in git.git. I am unsure if you need strbuf.c, too, or not.
> If not is there any problem with me doing this?
Not if you abide by the license of git.git, which is GPLv2.
Ciao, Dscho