]> git.lizzy.rs Git - plan9front.git/commit
git/log: handle absolute paths gracefully.
authorOri Bernstein <ori@eigenstate.org>
Sun, 20 Jun 2021 17:07:33 +0000 (17:07 +0000)
committerOri Bernstein <ori@eigenstate.org>
Sun, 20 Jun 2021 17:07:33 +0000 (17:07 +0000)
commiteeb0f9a9dad1c09ba2c0985b1af2c99b1bebe4c1
tree3e30a74e9b49ddae0484f4a888390cbbeb29596c
parenta87a4b763f58eb51ccfd5a9a394258c9398176aa
git/log: handle absolute paths gracefully.

strip off the repo prefix if the path given
is absolute, and then look up as though it
was rooted in the repo.
sys/src/cmd/git/log.c