summaryrefslogtreecommitdiff
path: root/post-commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post-commit.sh')
-rw-r--r--post-commit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/post-commit.sh b/post-commit.sh
index 3e837ba..044526f 100644
--- a/post-commit.sh
+++ b/post-commit.sh
@@ -311,8 +311,8 @@ done
for f in $added_files; do
if [ "$f" != "${f#$articles_dir}" ]; then
art="${f#$articles_dir/}"
- echo -n "[fugitive] Adding $art.html to git ignore list... "
- echo "$art.html" >> .git/info/exclude
+ echo -n "[fugitive] Adding $public_dir/$art.html to git ignore list... "
+ echo "$public_dir/$art.html" >> .git/info/exclude
echo "done."
previous=`get_article_previous_file "$art"`
next=`get_article_next_file "$art"`