Git development
 help / color / mirror / Atom feed
* file names
@ 2010-12-09 17:05 Thiago Farina
  2010-12-09 17:51 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Thiago Farina @ 2010-12-09 17:05 UTC (permalink / raw)
  To: Git Mailing List

Hi, I was was looking into the file names and noticed that they are
not consistent.

Some files are named like:

foo-bar.[c/h]

Others are:

foo_bar.[c/h]

On top of the git directory:

# With dash
$ lc *.c | grep - | wc -l
72

$ lc *.h | grep - | wc -l
25

# With underline
$ ls *.c | grep _ | wc -l
5

$ ls *.h | grep _ | wc -l
1

So it seems from this data, there is a preference for naming files
using dash over underline.

So the question is, should the files using underline be converted to
use dash instead? And should this be documented somewhere? Maybe in
CodingGuidelines?

Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-09 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-09 17:05 file names Thiago Farina
2010-12-09 17:51 ` Junio C Hamano
2010-12-09 18:00   ` Thiago Farina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox