Execute user-defined commands in the repository root
commit4024a738140197776f5cdd22bd8e7af94f8ab645
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sun, 7 Jun 2015 19:39:08 +0000 (7 15:39 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sun, 7 Jun 2015 19:39:08 +0000 (7 15:39 -0400)
treec3ea9fbddcff88b782251f0ad2eed42f55e72485
parentcbd667bf9344b3098a6028b2816102484c93a7b8
Execute user-defined commands in the repository root

Most state variables set by the different views, such as `%(file)`, are
relative to the repository root, which means that commands that use them
should be executed in the root directory. Clearly note this in the NEWS
file as an incompatibility.

Fixes #412
NEWS.adoc
src/prompt.c
test/vars/file-test [new file with mode: 0755]