diff options
author | Arun Isaac | 2022-06-22 18:25:16 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-22 20:46:17 +0530 |
commit | 89c6c8718bdd1a113e31e192d16bd0694d332b09 (patch) | |
tree | d2c72a7e0ec936ee949a8585a8afaae64f052b2a /pre-inst-env | |
parent | 32d5e62a222fc1c542758016325839cdc705cd28 (diff) | |
download | tissue-89c6c8718bdd1a113e31e192d16bd0694d332b09.tar.gz tissue-89c6c8718bdd1a113e31e192d16bd0694d332b09.tar.lz tissue-89c6c8718bdd1a113e31e192d16bd0694d332b09.zip |
bin: Run with the top-level directory as the current directory.
If we always run with the top-level directory as the current
directory, we don't need to frequently discover the top-level
directory by walking the filesystem. Also, this sits nicer with a
migration from git to libgit2.
* bin/tissue (main): Run all subcommands with the top-level directory
as the current directory.
(load-config): Load tissue.scm without appending the top-level
directory to it.
(tissue-web): Find the top-level directory using getcwd instead of
git-top-level.
Diffstat (limited to 'pre-inst-env')
0 files changed, 0 insertions, 0 deletions