Re: [PATCH] "git help -a" should search all exec_paths and PATH

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Scott Parish
Date: Sunday, October 21, 2007 - 5:54 pm

On Sun, Oct 21, 2007 at 11:25:29PM +0100, Johannes Schindelin wrote:


Well, i took a slightly different approach where that sanity check
wasn't nessisary. Instead of building up a string of the path of
each file, i'm saving the original directory in a file descriptor,
and "cd"ing to the exec_path currently being listed. Because of
that i can just stat() the names returned by readdir. Much simpler
imho

sRp

-- 
Scott Parish
http://srparish.net/

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] "git help -a" should search all exec_paths and ..., Scott Parish, (Sun Oct 21, 5:54 pm)