Browse Source

And commit when withdrawn books are removed

Samuel W. Flint 3 years ago
parent
commit
52210db2f6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      library.org

+ 2 - 0
library.org

@@ -450,6 +450,8 @@ This handles git as needed, by first checking to see if the first argument is ~i
       TMPDIR=. recdel -t Book \
             -e "Location ~ \"WITHDRAWN\"" \
             "${LIBRARY_FILE}"
+      do_git add $(basename ${LIBRARY_FILE})
+      do_git commit -m "Remove Withdrawn Books"
   }
 #+END_SRC