Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-17 | t/104-works-outside-the-repo-root.t: Remove subdir in teardown | Teddy Wing | |
I wasn't clearning up the "subdir" directory created in this test. Tried adding a new test that used the same subdirectory name, which failed to create the directory because it was already created here. | |||
2020-10-07 | main(): Open repository even if PWD is a subdirectory | Teddy Wing | |
Previously, running `git todo` outside the root of the repository would result in this error: error: unable to open repository: could not find repository from '.'; class=Repository (6); code=NotFound (-3) It turns out the `open()` method expects the given path to be the repository root. Use `open_from_env()` instead, which functions more like regular Git commands. |