Re: What's cooking in git.git (Aug 2010, #02; Wed, 11)
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 12, 2010, 10:11 UTC
- Message-ID
- <AANLkTimcb92zD-bcguV65qnhLN+oCaJRi7SZq1GFw4hd@mail.gmail.com>
- In-Reply-To
- <AANLkTi=MenKX7Eh5PTpjfiYirrgLBCamWgorA35rx-Fy@mail.gmail.com>
On Thu, Aug 12, 2010 at 09:37, Greg Brockman <gdb@mit.edu> wrote:
Show 10 quoted lines
>>> * gb/shell-ext (2010-07-28) 3 commits >>> - Add sample commands for git-shell >>> - Add interactive mode to git-shell for user-friendliness >>> - Allow creation of arbitrary git-shell commands >> >> This needs work on Windows because we do not have geteuid(), perhaps just >> a compiler flag -Dgeteuid=getuid > I had a submitted a revised patch that just uses HOME, see > http://thread.gmane.org/gmane.comp.version-control.git/152050/focus=152135. > I guess that didn't make it in yet.
Maybe that should be (untested):
char* home = expand_user_path("~");To avoid duplicating the getenv("HOME") code (e.g. if someone wants to make a getpwuid fallback in the future).