Changes between Version 18 and Version 19 of Contributing/CodingStyle


Ignore:
Timestamp:
09/14/2015 01:13:44 PM (9 years ago)
Author:
bro
Comment:

More on how to write commit message

Legend:

Unmodified
Added
Removed
Modified
  • Contributing/CodingStyle

    v18 v19  
    6363This should probably have it's own page but putting here for now. 
    6464}}} 
    65 Mainly based on [http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines git commit guidelines]. Example commit message: 
     65Mainly based on [http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines git commit guidelines]. 
     66 
     67Example commit message: 
    6668 
    6769{{{ 
     
    8082    single space, with blank lines in between, but conventions vary here 
    8183}}} 
     84 
     85A general guideline on writing a good commit message is to provide information 
     86that is not already provided from the commit diff, which in essence is "''the why, not the how''". 
     87 
     88 * Explain why the change is necessary 
     89 
     90 After reading the commit message it should should be apparent why the changes were made. 
     91 
     92 * Explain how the issue is adressed in broad terms 
     93 
     94 It is not necessary to explain how the changes are made in detail as that can be seen from the commit diff. 
     95 
    8296 
    8397=== Tags / Labels ===