Ticket #172 (closed task: fixed) — at Version 13
Use 'indent' utility
Reported by: | slavazanko | Owned by: | slavazanko |
---|---|---|---|
Priority: | minor | Milestone: | 4.7.1 |
Component: | adm | Version: | 4.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: | commited-master commited-stable |
Description (last modified by angel_il) (diff)
I propose use indent utility before commits.
Options to indent:
indent \ --gnu-style --format-first-column-comments --indent-level4 --brace-indent0 --line-length100 --no-tabs --blank-lines-after-procedures
or
indent -gnu -fc1 -i4 -bli0 -nut -bap -l100
See also attach (git-ci). This script will help with automate indentation before commits.
Change History
comment:1 Changed 16 years ago by styx
may be it will be better to use spaces instead of tabs?
and what about stuff we already have commited?
I think, trailing spaces can&must be killed :-E
Space+Tabs hell is awful shoud be some thing one at list.
P.S. I vote for spaces (:
comment:2 Changed 16 years ago by angel_il
please, vote for this stile:
indent -br -ce -cli0 -cbi0 -sai --indent-level4 -nut --line-length185
comment:4 Changed 16 years ago by angel_il
- Priority changed from major to minor
- Component changed from mc-core to adm
- Milestone 4.7 deleted
comment:6 Changed 15 years ago by slavazanko
- Owner set to slavazanko
- Status changed from new to accepted
- severity set to on review
- Milestone changed from Future Releases to 4.7.1
Created branch 172_indent (parent: master)
Initial changeset:fbc5c4ee01907fb5d4e6032d116acfde1082f321
Review, please.
comment:8 Changed 15 years ago by andrew_b
- Votes for changeset changed from angel_il to angel_il andrew_b
comment:9 Changed 15 years ago by styx
- Votes for changeset changed from angel_il andrew_b to angel_il andrew_b styx
comment:10 Changed 15 years ago by slavazanko
- Status changed from accepted to testing
- Votes for changeset changed from angel_il andrew_b styx to commited-master commited-stable
- Resolution set to fixed
- severity changed from on review to merged
Note: See
TracTickets for help on using
tickets.
helper for indent before git-commit