# Build oddities

2 messages from 2012-02-05 to 2012-02-05. Participants: Michael, Nguyen Thai Ngoc Duy.
Thread: https://gitlist.dev/t/29550

## Michael, 2012-02-05 06:34

Subject: Build oddities
Message-ID: <loom.20120205T072940-523@post.gmane.org>
URL: https://gitlist.dev/e/loom.20120205T072940-523%40post.gmane.org

```
Hi there,

I ran into a build oddity with git today - the environment variable $X is
appended to most binaries. At the time, I had X=last, so I ended up with
gitlast, git-peek-remotelast etc.

Does anyone know why this behaviour exists, and if it is still desired?

Best regards,
Michael

```

## Nguyen Thai Ngoc Duy, 2012-02-05 06:46

Subject: Re: Build oddities
Message-ID: <CACsJy8CCCMXUSKMu3+cpngxGPi+ci=C0ra_3aUpz9PCT=NyPVw@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8CCCMXUSKMu3%2BcpngxGPi%2Bci%3DC0ra_3aUpz9PCT%3DNyPVw%40mail.gmail.com
In-Reply-To: <loom.20120205T072940-523@post.gmane.org>

```
On Sun, Feb 5, 2012 at 1:34 PM, Michael <kensington@astralcloak.net> wrote:
> Hi there,
>
> I ran into a build oddity with git today - the environment variable $X is
> appended to most binaries. At the time, I had X=last, so I ended up with
> gitlast, git-peek-remotelast etc.

$X is to append .exe for Windows build so you would get git.exe,
git-peek-remote.exe... We should set X to empty from the beginning.
Patches are welcome.
-- 
Duy

```
