Re: [PATCH] pager: use an environment variable for pager_in_use

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

 



Hi,

On Fri, 16 Feb 2007, Matthias Lederhofer wrote:

> Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
> > +int pager_in_use = getenv("GIT_PAGER_IN_USE");
> test.c:3: error: initializer element is not constant

Sorry.

Still, it feels wrong to use two system calls when you need none.

How about working on making status and commit a builtin instead? This 
would not only solve your issue, but portability issues as well.

Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]