[LU-1595] force wrap at 70 columns during git commit-msg editing Created: 03/Jul/12  Updated: 15/Jun/16  Resolved: 18/Apr/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.3.0, Lustre 2.4.0, Lustre 2.9.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Story Points: 1
Rank (Obsolete): 4552

 Description   

Add a vim modeline to the commit-msg hook to force commit message lines to wrap at 70 columns.

It would be nice to have an emacs modeline to do the same, but I don't know anything about it.



 Comments   
Comment by Andreas Dilger [ 06/Aug/12 ]

Landed http://review.whamcloud.com/3284 to master for 2.3.0.

Comment by Gerrit Updater [ 15/Jan/15 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/13427
Subject: LU-1595 build: improve prepare-commit-msg git hook
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9114ff3e03c2d7d77e0bc96015e9a0d71e11c2f1

Comment by Gerrit Updater [ 14/Jun/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13427/
Subject: LU-1595 build: improve prepare-commit-msg git hook
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b1c8f737c8bbe862930cc0f174bd478ba42f7ffe

Generated at Sat Feb 10 01:18:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.