From a32d80295581365b318e88fc657e25c9acb75bd1 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 18 May 2006 00:48:11 -0700 Subject: [PATCH] dodoc: adjust to "git add ." complaints. The updated "git add" complains and fails, not just warns. Work it around until it is fixed. --- dodoc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dodoc.sh b/dodoc.sh index a2f87e8c..15926f36 100755 --- a/dodoc.sh +++ b/dodoc.sh @@ -78,7 +78,7 @@ else fi || exit $? cd ../doc-htmlpages && - git add . && + (git add . || echo no new files -- not a big deal) && if git commit -a -m "Autogenerated HTML docs for $NID" then git-send-pack "$MASTERREPO" master:refs/heads/html || { @@ -94,7 +94,7 @@ make man1="$DOCREPO/doc-manpages/man1" man7="$DOCREPO/doc-manpages/man7" \ install >../:man.log 2>&1 && cd ../doc-manpages && - git add . && + (git add . || echo no new files -- not a big deal) && if git commit -a -m "Autogenerated man pages for $NID" then git-send-pack "$MASTERREPO" master:refs/heads/man || { -- 2.11.0