Add pedantic

This commit is contained in:
Junio C Hamano 2006-06-18 21:41:01 -07:00
parent 39b4cb198b
commit ef4ede0941
2 changed files with 17 additions and 0 deletions

14
Make
View File

@ -20,6 +20,20 @@ refs/heads/pu)
d="prefix=$HOME/git-test" ;;
esac
while case $# in 0) break ;; esac
do
case "$1" in
-pedantic)
O='-O2 -Werror -ansi -pedantic -std=c99 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE'
;;
*)
echo >&2 "Eh $1?"
exit 1
;;
esac
shift
done
: ${O=-O2}
make $d \
PYTHON_PATH=/usr/bin/python2.4 \

3
TODO
View File

@ -122,6 +122,9 @@ Technical (milder)
Technical (trivial)
-------------------
* git-clone fail .git/refs/foo (Yann Dirson <ydirson@altern.org>)
<20060610225040.GA7766@nowhere.earth>
* git-proxy should be spawned with sh -c 'command' $1 $2.
* Maybe a true git-proxy command that reads the first request