diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2018-08-19 23:02:39 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2018-08-20 00:02:15 +0100 |
commit | a6f840e7baa679420031fa42006479a691d3ec7a (patch) | |
tree | 89d21941ad97db22798673114ddcb30c3cc0a083 | |
parent | 9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374 (diff) | |
download | poezio-a6f840e7baa679420031fa42006479a691d3ec7a.tar.gz poezio-a6f840e7baa679420031fa42006479a691d3ec7a.tar.bz2 poezio-a6f840e7baa679420031fa42006479a691d3ec7a.tar.xz poezio-a6f840e7baa679420031fa42006479a691d3ec7a.zip |
Only check if `.git` exists, not more
`git worktree` has `.git` as a file, not a directory.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rwxr-xr-x | launch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ then POEZIO_VENV="poezio-venv" fi -if [ -d .git ] +if [ -e .git ] then args=$(git show --format='%h %ci' | head -n1) else |