X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=HACKING;fp=HACKING;h=2bd3114275e010c682102eaef249a4662de6e7ce;hp=658aa76b592c13379584a2b9953eedf32438308d;hb=cf1418e9a85013bbf8dbcc2d2e9985695993d9f4;hpb=9b045f62f4bac2411a7662d8b312637347aac73d diff --git a/HACKING b/HACKING index 658aa76b59..2bd3114275 100644 --- a/HACKING +++ b/HACKING @@ -102,15 +102,18 @@ while(!done) { } @endcode @b TIP! use "git add ." before commit to add new files. + + Comment template, notice the short first line w/topic. The topic field + should identify the main part or subsystem the patch touches. Check + git log for examples. @code ---- example comment, notice the short first line w/topic --- -topic: short comment +topic: Short comment -longer comments over several -lines... +Longer comments over several lines, explaining (where applicable) the +reason for the patch and the general idea the solution is based on, +any major design decisions, etc... Signed-off-by: ... ------ @endcode -# Next you need to make sure that your patches are on top of the latest stuff on the server and