Skip to content

Commit a32d802

Browse files
author
Junio C Hamano
committed
dodoc: adjust to "git add ." complaints.
The updated "git add" complains and fails, not just warns. Work it around until it is fixed.
1 parent cb71bc8 commit a32d802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dodoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ else
7878
fi || exit $?
7979

8080
cd ../doc-htmlpages &&
81-
git add . &&
81+
(git add . || echo no new files -- not a big deal) &&
8282
if git commit -a -m "Autogenerated HTML docs for $NID"
8383
then
8484
git-send-pack "$MASTERREPO" master:refs/heads/html || {
@@ -94,7 +94,7 @@ make man1="$DOCREPO/doc-manpages/man1" man7="$DOCREPO/doc-manpages/man7" \
9494
install >../:man.log 2>&1 &&
9595

9696
cd ../doc-manpages &&
97-
git add . &&
97+
(git add . || echo no new files -- not a big deal) &&
9898
if git commit -a -m "Autogenerated man pages for $NID"
9999
then
100100
git-send-pack "$MASTERREPO" master:refs/heads/man || {

0 commit comments

Comments
 (0)