Explorar o código

And commit when withdrawn books are removed

Samuel W. Flint %!s(int64=5) %!d(string=hai) anos
pai
achega
52210db2f6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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