From 36af8fe113cd82921eefe3c5509073b046ea6fbd Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Thu, 3 Mar 2022 23:02:59 -0500 Subject: [PATCH] Fix bug with detecting no changes It was running git in the actual source repo (not the ~/.today repo haha). --- today | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/today b/today index 161a395..bf86e6a 100755 --- a/today +++ b/today @@ -18,7 +18,7 @@ gitdo() { } commit() { - if ! git diff --quiet; then + if ! gitdo diff --quiet; then gitdo add "$LOG" gitdo commit -m "$@" else -- libgit2 1.1.1