]> gitweb.ps.run Git - ps-cgit/commit
ui-snapshot: do not access $HOME
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 30 Apr 2013 10:27:41 +0000 (12:27 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 30 Apr 2013 10:29:07 +0000 (12:29 +0200)
commit8bf4a0465e81da877e0c81620ae4ac9356145fc9
tree502c36d0641013bed2c3832963968ec6f13737cf
parent8d07ad3388429b6c1361074cbac5dec6afee79d7
ui-snapshot: do not access $HOME

It's a bit tedious to have to do this here too. If we encounter other
issues with $HOME down the line, I'll look into adding some nice utility
functions to handle this, or perhaps giving up on the hope that we could
keep $HOME defined for scripts.

This commit additionally adds a test case, should the issue surface
again.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
tests/t0109-gitconfig.sh
ui-snapshot.c