RFC: using AdaCore's git hooks for binutils-gdb.git ...

Joel Brobecker brobecker@adacore.com
Fri Nov 28 14:42:00 GMT 2014


> In addition, if any commits are "lost" (no longer
> accessible from any remaining branch or other reference), then
> a list of the commits that are no longer on any branch is included
> as well.

Here is an example of what the email looks like:

| From: Test Suite <testsuite@adacore.com>
| To: git-hooks-ci@example.com
| Subject: [repo] Deleted branch topic/experiment1
| X-Act-Checkin: repo
| X-Git-Author: Test Suite <testsuite@adacore.com>
| X-Git-Refname: refs/heads/topic/experiment1
| X-Git-Oldrev: a60540361d47901d3fe254271779f380d94645f7
| X-Git-Newrev: 0000000000000000000000000000000000000000
|
| The branch 'topic/experiment1' was deleted.
| It previously pointed to:
|
|  a605403... Updated a.
|
| Diff:
|
| !!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
| -------------------------------------------------------------------
|
|   a605403... Updated a.
|
| commit a60540361d47901d3fe254271779f380d94645f7
| Author: Joel Brobecker <brobecker@adacore.com>
| Date:   Fri Apr 27 13:08:29 2012 -0700
|
|     Updated a.
|
|     Just added a little bit of text inside file a.
|     Thought about doing something else, but not really necessary.

-- 
Joel



More information about the Binutils mailing list