4a3ef10 git/hooks: only use first line as project description

1 file Authored by tmz 7 years ago, Committed by kevin 7 years ago,
    git/hooks: only use first line as project description
    
    Hi all,
    
    This is something I've seen for ages and thought should be fixed (either by
    this patch and/or another which supports multi-line description files
    properly).
    
    I have an alternate version of this patch which side-steps the issue by adding
    the X-Project header last, so if it's multiple lines it won't screw up other
    headers.  I think this is the proper fix though.
    
    If multi-line description files are really something which are desired, then a
    commit on top of this change could add support for reading the remaining lines
    from the description file and add them to the message body.
    
     roles/git/hooks/files/git.py | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
        
file modified
+2 -1