Re: [PATCH v2 2/3] strbuf: Add method to convert byte-size to human readable form

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marcus Griep <marcus@...>
Cc: Petr Baudis <pasky@...>, Git Mailing List <git@...>, Junio C Hamano <gitster@...>
Date: Thursday, August 14, 2008 - 8:52 pm

Marcus Griep <marcus@griep.us> wrote:

The sources are roughly:

- 80 columns wide, try not to make it wider;

- ident leading part of line with _TABs_ not spaces;

- tab width in your editor should be 8, so you see when you
  are too wide;

- one tab per block in C;

- don't align variable names in declarations;

- use {} only around complex statements;

... there's more.  But if you follow the above along with "dammit,
make it match the code above and below where you are inserting"
you get it pretty quick.

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2 2/3] strbuf: Add method to convert byte-size t..., Shawn O. Pearce, (Thu Aug 14, 8:52 pm)