Modify ↓
      
Opened 20 years ago
Closed 20 years ago
#1599 closed defect (fixed)
add the word "fix" to the post-commit hook command list
| Reported by: | xris | Owned by: | Jonas Borgström | 
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel | 
| Severity: | trivial | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I've found myself committing messages like "fix #333", so I thought it would be a nice addition to have the post-commit hook grab that (currently, it only grabs "fixes"). Might want to also consider "fixed", too.
Attachments (0)
Change History (3)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
| Version: | 0.8.1 → devel | 
|---|
after some user requests, this list has been updated to add "see" as well…
    _supported_cmds = {'close':      '_cmdClose',
                       'closed':     '_cmdClose',
                       'closes':     '_cmdClose',
                       'fix':        '_cmdClose',
                       'fixed':      '_cmdClose',
                       'fixes':      '_cmdClose',
                       'addresses':  '_cmdRefs',
                       're':         '_cmdRefs',
                       'references': '_cmdRefs',
                       'refs':       '_cmdRefs',
                       'see':        '_cmdRefs'}
  Note:
 See   TracTickets
 for help on using tickets.
    


  
full list of commands from my personal copy:
_supported_cmds = {'close': '_cmdClose', 'closed': '_cmdClose', 'closes': '_cmdClose', 'fix': '_cmdClose', 'fixed': '_cmdClose', 'fixes': '_cmdClose', 'addresses': '_cmdRefs', 're': '_cmdRefs', 'references': '_cmdRefs', 'refs': '_cmdRefs'}