From 31cf8af327e41f4f1a8d09ff51a7842e21afcccf Mon Sep 17 00:00:00 2001 From: Thomas Meeus Date: Thu, 11 Dec 2014 10:18:34 +0100 Subject: [PATCH] Document issue with leaky subtree command --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1a34229..4e02fef 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,14 @@ git-subsplit can also be installed as a git command by: ./install.sh +Caveats +------- + +There is a known bug in the underlying git-subtree command that this script uses. Your disk will eventually run out of inodes because a cache directory isn't cleaned up after every run. I suggest you to create a cronjob to clean the cache directory every month: + +``` +0 0 1 * * rm -rf /dflydev-git-subsplit-github-webhook/temp/$projectname/.subsplit/.git/subtree-cache/* +``` Hooks -----