From: Junio C Hamano <redacted>
Date: Wed, 09 May 2007 15:59:23 -0700
The above sequence is called before we create the new directory
and chdir to it. Maybe pwd has funny behaviour (e.g. $PWD) and
we need to explicitly say /bin/pwd or somesuch...
Indeed:
[davem@hera ~]$ pwd
/home/davem
[davem@hera ~]$ cd git
[davem@hera git]$ pwd
/home/davem/git
[davem@hera git]$ /bin/pwd
/home/ftp/pub/scm/linux/kernel/git/davem
[davem@hera git]$