소스 검색

And commit when withdrawn books are removed

Samuel W. Flint 5 년 전
부모
커밋
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