commit 36af8fe113cd82921eefe3c5509073b046ea6fbd (patch)
parent a75663927da21a71a7613ba1392cc1fb6b260bbb
Author: Alex Karle <alex@alexkarle.com>
Date: Thu, 3 Mar 2022 23:02:59 -0500
Fix bug with detecting no changes
It was running git in the actual source repo (not the ~/.today
repo haha).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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