From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Dmitry Potapov <dpotapov@gmail.com>
Cc: Stephan Beyer <s-beyer@gmx.net>,
"Shawn O. Pearce" <spearce@spearce.org>,
Junio C Hamano <gitster@pobox.com>,
git@vger.kernel.org
Subject: Re: [PATCH] Link git-shell only to a subset of libgit.a
Date: Fri, 18 Jul 2008 12:55:16 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.1.00.0807181253080.3932@eeepc-johanness> (raw)
In-Reply-To: <20080718060321.GJ2925@dpotapov.dyndns.org>
Hi,
On Fri, 18 Jul 2008, Dmitry Potapov wrote:
> On Fri, Jul 18, 2008 at 03:04:30AM +0200, Stephan Beyer wrote:
> > Commit 5b8e6f85 introduced stubs for three functions that make no
> > sense for git-shell. But those stubs defined libgit.a functions a
> > second time so that a linker can complain.
> >
> > Now git-shell is only linked to a subset of libgit.a.
> >
> > Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
>
> I agree, it is probably better to specify explicitly what files to link
> for git-shell if we want to keep it small and avoid the problem with
> some linkers.
It is also more elegant in general, as it does not play tricks to do what
we want, but it does explicitely what we want.
FWIW I only removed almost the exact launch_editor() patch Stephan posted
from my personal Git fork because of this trickery (which I did not have
the time to fix).
Ciao,
Dscho
next prev parent reply other threads:[~2008-07-18 10:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-27 21:35 [PATCH] shrink git-shell by avoiding redundant dependencies Dmitry Potapov
2008-06-27 21:55 ` Junio C Hamano
2008-06-27 22:31 ` Dmitry Potapov
2008-06-27 22:34 ` Junio C Hamano
2008-07-18 0:26 ` Stephan Beyer
2008-07-18 0:58 ` Shawn O. Pearce
2008-07-18 1:04 ` [PATCH] Link git-shell only to a subset of libgit.a Stephan Beyer
2008-07-18 1:06 ` Shawn O. Pearce
2008-07-18 6:03 ` Dmitry Potapov
2008-07-18 10:55 ` Johannes Schindelin [this message]
2008-07-18 1:06 ` [PATCH] Remove function stubs in shell.c Stephan Beyer
2008-07-18 6:06 ` Dmitry Potapov
2008-07-18 5:59 ` [PATCH] shrink git-shell by avoiding redundant dependencies Dmitry Potapov
2008-06-28 14:51 ` Johannes Schindelin
2008-06-28 16:48 ` Dmitry Potapov
2008-06-28 17:31 ` Johannes Schindelin
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=alpine.DEB.1.00.0807181253080.3932@eeepc-johanness \
--to=johannes.schindelin@gmx.de \
--cc=dpotapov@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=s-beyer@gmx.net \
--cc=spearce@spearce.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox