@leroysheep / rag-system / commits / a32d802955

dodoc: adjust to "git add ." complaints.

The updated "git add" complains and fails, not just warns. Work it around until it is fixed.

Junio C Hamano committed May 18, 2006 at 00:48 UTC a32d80295581365b318e88fc657e25c9acb75bd1
1 file changed +2 -2
dodoc.sh
+2 -2
index a2f87e8c1e..15926f361d 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 || {