Преглед изворни кода

And commit when withdrawn books are removed

Samuel W. Flint пре 3 година
родитељ
комит
52210db2f6
1 измењених фајлова са 2 додато и 0 уклоњено
  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