summaryrefslogtreecommitdiff
path: root/contrib/mklog
Commit message (Collapse)AuthorAgeFilesLines
* teach mklog to look in the current directory for ChangeLog filestbsaunde2016-03-061-1/+1
| | | | | | | | | | | | | | | | | | when run in repos other than gcc mklog fails to find ChangeLog files because it looks for $0/../$dir/ChangeLog, but of course if the diff is for a project other than gcc that might not exist. It should be fine to also look for $cwd/$dir/ChangeLog, and use that if we find it. This means that for example in binutils-gdb.git you can do git commit, and then in your editor read git diff HEAD~ | mklog - to generate a template ChangeLog for that commit. contrib/ChangeLog: 2016-03-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * mklog: Look for the ChangeLog file in $cwd. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-05-12 Yury Gribov <y.gribov@samsung.com>ygribov2015-05-121-2/+1
| | | | | | | * mklog: Ignore preprocessor directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223081 138bc75d-0d04-0410-961f-82ee72b054a4
* Use .mklog name and email settings, or git settingsvries2014-11-251-21/+35
| | | | | | | | | | 2014-11-25 Tom de Vries <tom@codesourcery.com> Peter Bergner <bergner@vnet.ibm.com> * mklog: Handle .mklog. Use git setting independent of presence .git directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218050 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix patch mangling with --inline optionvries2014-11-141-4/+12
| | | | | | | | | 2014-11-14 Tom de Vries <tom@codesourcery.com> * mklog: Move reading of .diff file up and add comment. Copy diff_lines to orig_diff_lines. Use orig_diff_lines when appending patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217558 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/mzakirov2014-11-111-1/+1
| | | | | | | | | | 2014-11-11 Marat Zakirov <m.zakirov@samsung.com> * mklog: Symbol '}' stops search for changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217357 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/mzakirov2014-11-071-17/+24
| | | | | | | | | | | 2014-11-07 Marat Zakirov <m.zakirov@samsung.com> * mklog: Always doubt in functions. Add EOF protection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217212 138bc75d-0d04-0410-961f-82ee72b054a4
* Add --inline option to contrib/mklogvries2014-09-221-3/+45
| | | | | | | | 2014-09-22 Tom de Vries <tom@codesourcery.com> * mklog: Add --inline option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-01 Yury Gribov <y.gribov@samsung.com>ygribov2014-08-011-4/+3
| | | | | | | * mklog: Allow running from arbitrary folder. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213401 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/ygribov2014-07-211-11/+8
| | | | | | | | | | 2014-07-21 Trevor Saunders <tsaunders@mozilla.com> Yury Gribov <y.gribov@samsung.com> * mklog: Run mklog as a filter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212884 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/ygribov2014-07-211-0/+14
| | | | | | | | | 2014-07-21 Trevor Saunders <tsaunders@mozilla.com> mklog: Read name and email from git config when available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-29 Yury Gribov <y.gribov@samsung.com>ygribov2014-01-291-22/+30
| | | | | | | * mklog: Improve support of context diffs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207265 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-27 Jonathan Wakely <jwakely@redhat.com>redi2014-01-271-2/+2
| | | | | | * mklog: Fix description at top of file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207153 138bc75d-0d04-0410-961f-82ee72b054a4
* * mklog: Avoid adding falsely changed functions to ChangeLog.tudalova2014-01-211-4/+42
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206875 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-23 Yury Gribov <y.gribov@samsung.com>ygribov2013-12-231-29/+79
| | | | | | | * mklog: Automatically insert comments in trivial cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206175 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-19 Yury Gribov <y.gribov@samsung.com>ygribov2013-12-191-12/+35
| | | | | | | * mklog: Split generated message in parts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206116 138bc75d-0d04-0410-961f-82ee72b054a4
* The new mklog script prints three spaces after the date part, whichdnovillo2012-06-061-1/+1
| | | | | | | | | | is wrong. Thus fixed by adjusting the split pattern. Tested manually. 2012-05-31 Marek Polacek <polacek@redhat.com> * mklog: Prevent printing three spaces after the date. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188265 138bc75d-0d04-0410-961f-82ee72b054a4
* Add new skeleton ChangeLog file generator to contrib/dnovillo2012-05-311-0/+151
This script analyzes a .diff file and generates a skeleton ChangeLog entry for it. It tries fairly hard to find function names, so it's important to use the -p switch with diff. I wrote the initial code a while ago. Cary added a bunch of smarts to make it understand C++ and guess the function names better than the original version. 2012-05-31 Diego Novillo <dnovillo@google.com> Cary Coutant <ccoutant@google.com> * mklog: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188072 138bc75d-0d04-0410-961f-82ee72b054a4