All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: 은교 <eunqyo@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Can I change Git binary file's name when deploying Git-based product?
Date: Tue, 19 Jan 2016 10:57:05 -0800	[thread overview]
Message-ID: <xmqqwpr59z3y.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <CACaY5-uUqFxsRdwPzxAjphc=wNQhM76YJFmCZu86SpGeG1fOrw@mail.gmail.com> (=?utf-8?B?IuydgOq1kCIncw==?= message of "Tue, 19 Jan 2016 17:07:16 +0900")

은교 <eunqyo@gmail.com> writes:

> Problem is that whenever git command is executed, 'The Git command
> requires the command line developer tools. Would you like to install
> the tools now?' message comes out.

As far as I know, that is not a message Git produces, but likely to
come from some magic wrapper (or "missing command handler") the
distro gives its users.

> I found out that when i change Git binary file's name that my product
> is executing, problem is solved. Since then i tried to read every
> licenses regarding Git but can't find a clear answer.
>
> Can i change Git binary file's name to for example 'Git-indegs',
> 'Indegs' when deploying my product?

The Git source code is licensed under GPLv2, and IIUC, there is
nothing that forbids you from naming the resulting binary other than
"git".

It is completely a separate issue if merely renaming the binary from
"git" to another name is sufficient to keep things working.  Many
subcommands of Git are built into a single binary and I suspect that
they would work regardless of what the name of that single binary
is, but others invoke other Git subcommands while they are running,
and when the do so they expect to find the other subcommand they are
invoking are "git foo", not "hju foo", even if they were invoked as
"hju".  That too is something you can modify under the licensing
terms of GPLv2, i.e. if you make such a modification and ship the
binaries based on that modified source, you must make the
modification available to the recipients of the binaries in the
source form under the same GPLv2 license.

      reply	other threads:[~2016-01-19 18:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19  8:07 Can I change Git binary file's name when deploying Git-based product? 은교
2016-01-19 18:57 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqwpr59z3y.fsf@gitster.mtv.corp.google.com \
    --to=gitster@pobox.com \
    --cc=eunqyo@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.