Re: [PATCH 1/2] merge-recursive: prepare merge_recursive() to be called from builtins

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

 



On Mon, Aug 11, 2008 at 05:13:03PM +0200, Stephan Beyer <s-beyer@xxxxxxx> wrote:
> Hmm, I have the long-run vision that we have a nice libgit some day,

That would be nice, but in that case I would start avoiding die() which
is an awful amount of work... (There were multiple threads on the list
previously.)

> with merge_recursive() being part of it.  And I'm a little unsure if
> libified functions should rely on environment variables.

Well, many libs do this. Random example: ld.so relies on LD_LIBRARY_PATH
as well.

Anyway sure, using function parameters instead of env vars is more
elegant.

Attachment: pgp76CjKon3pH.pgp
Description: PGP signature


[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