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
@@ -78,7 +78,7 @@ else
78
fi || exit $?
79
80
cd ../doc-htmlpages &&
81
- git add . &&
81
+ (git add . || echo no new files -- not a big deal) &&
82
if git commit -a -m "Autogenerated HTML docs for $NID"
83
then
84
git-send-pack "$MASTERREPO" master:refs/heads/html || {
@@ -94,7 +94,7 @@ make man1="$DOCREPO/doc-manpages/man1" man7="$DOCREPO/doc-manpages/man7" \
94
install >../:man.log 2>&1 &&
95
96
cd ../doc-manpages &&
97
- git add . &&
97
+ (git add . || echo no new files -- not a big deal) &&
98
if git commit -a -m "Autogenerated man pages for $NID"
99
then
100
git-send-pack "$MASTERREPO" master:refs/heads/man || {