Re: [PATCH] git p4: chdir resolves symlinks only for relative paths

2013-03-07 Thread Miklós Fazekas
s in p4 client specification can be used as a workaround on p4 side, git-p4 should not resolve symlinks in client paths. chdir(dir) uses os.getcwd() after os.chdir(dir) to resolve relative paths, but as a sideeffect it resolves symlinks too. Now for client paths we don't call os.getcwd(

[PATCH] git p4: chdir resolves symlinks only for relative paths

2013-01-29 Thread Miklós Fazekas
fication can be used as a workaround on p4 side, git-p4 should not resolve symlinks in client paths. chdir(dir) uses os.getcwd() after os.chdir(dir) to resolve relative paths, but as a side effect it resolves symlinks too. Now it checks if the dir is relative before resolving. Signed-off-by: