git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] another attempt at make_absolute_path()
@ 2007-07-27 19:10 Bradford C Smith
  2007-07-27 19:10 ` [PATCH 1/2] added file path helper routines Bradford C Smith
  2007-07-27 19:22 ` [PATCH 0/2] another attempt at make_absolute_path() Johannes Schindelin
  0 siblings, 2 replies; 4+ messages in thread
From: Bradford C Smith @ 2007-07-27 19:10 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Johannes Schindelin

Here's my attempt at make_absolute_path() and friends.  I think this
version handles symlinks cleanly to avoid problems with '..' path
elements Junio pointed out recently.

I built these with another patch I previously submitted to make
git-config consistently use lockfile.c routines and tested it with the
regular test suite plus some extra tests Junio sent to the list for
checking git-config symlink handling.

I also built a separate executable with just the path handling routines
in it and spot-checked several cases to make sure it appeared to be
working as expected.  ('/', loop of symlinks, lots of extra slashes, .
and .. elements, etc.)

Best Regards,

Bradford

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

end of thread, other threads:[~2007-07-27 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 19:10 [PATCH 0/2] another attempt at make_absolute_path() Bradford C Smith
2007-07-27 19:10 ` [PATCH 1/2] added file path helper routines Bradford C Smith
2007-07-27 19:10   ` [PATCH 2/2] use make_absolute_path() in lock_file() Bradford C Smith
2007-07-27 19:22 ` [PATCH 0/2] another attempt at make_absolute_path() Johannes Schindelin

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).