Re: [HACKERS] How to submit a patch.

Поиск
Список
Период
Сортировка
От Martin J. Laubach
Тема Re: [HACKERS] How to submit a patch.
Дата
Msg-id bba1de9a26dd5280f047e531379ef750
обсуждение исходный текст
Ответ на [HACKERS] How to submit a patch.  (David Friend <dfriend@atlsci.atlsci.com>)
Список pgsql-hackers
  Here is my catch all solution for diffs. Whenever I change a file,
I copy it on filename.orig. When you run the script from the
pg directory, it will create a file "this.patch" containing a
diff for everything that changed...

    mjl

- ----
#!/bin/csh

rm -f this.patch
touch this.patch

foreach n (`find . -name \*.orig -print`)
    set x=`dirname $n`/`basename $n .orig`
    if( -z $n ) then
        set n='/dev/null'
    endif

    echo "Diffing $x against $n"
    diff -abcdp $n $x >> this.patch

    rm -f $n
    cp $x $x.new
end

------------------------------

В списке pgsql-hackers по дате отправления: