Re: [RFC PATCH] git-sh-setup: Use "cd" option, not /bin/pwd, for symlinked work tree

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

 



On Wed, Feb 11, 2009 at 06:44:41AM -0800, Marcel M. Cary wrote:

> > Actually, it was not clear for me how much you researched the portability 
> > of "cd -P".
> 
> I have not.  I've seen only that it's POSIX, is on BSD and Linux, and
> was suggested by Junio.

Even Solaris /usr/xpg4/bin/sh has it. Their /bin/sh does not, but that
is not a surprise: that shell is useless and already unsupported by git.

I don't know about other obscure platforms (wasn't there some guy
running git on antique SCO machines or something?).

I think it is nice to shoot for "more portable" in general, and I don't
particularly care one way or the other about this feature. But I think
we are somewhat hampered by having no clue what the supported set of
platforms is. I'm pretty sure we support at least:

  - various recent Linux distributions
  - FreeBSD 6.x (maybe as far back as 4.x)
  - OS X
  - NetBSD and OpenBSD, but no idea which versions
  - Solaris >= 2.8
  - AIX 5.3

and I suspect most of those have somebody building them regularly enough
that breakages are caught. I have no idea what people are using beyond
that, and how quickly they might catch a portability breakage.

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

  Powered by Linux