git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in get_pwd_cwd() in Windows?
@ 2014-07-21 14:13 Duy Nguyen
  2014-07-22 19:35 ` René Scharfe
  0 siblings, 1 reply; 4+ messages in thread
From: Duy Nguyen @ 2014-07-21 14:13 UTC (permalink / raw)
  To: Git Mailing List

This function tests if $PWD is the same as getcwd() using st_dev and
st_ino. But on Windows these fields are always zero
(mingw.c:do_lstat). If cwd is moved away, I think falling back to $PWD
is wrong. I don't understand the use of $PWD in the first place.
1b9a946 (Use nonrelative paths instead of absolute paths for cloned
repositories - 2008-06-05) does not explain much.
-- 
Duy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-23 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 14:13 Bug in get_pwd_cwd() in Windows? Duy Nguyen
2014-07-22 19:35 ` René Scharfe
2014-07-23 11:53   ` Duy Nguyen
2014-07-23 12:40     ` Karsten Blees

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).