On 3 May 2011, at 08:50, Tony Mechelynck <antoine.mechely...@gmail.com> wrote:

> On 02/05/11 14:15, milasudril wrote:
>> How does github identify language? If I have a C++ include file,
>> should it end with .hpp rather than .h?
>> 
> 
> Does git need to know about language? (I mean, beyond the fact that the file 
> is "text" or "binary")

It doesn't, but GitHub has a 'graphs' feature which, among other things, does a 
percentage breakdown of what languages your project is written in.

I'm guessing milasudril was just curious about how that worked.

Chris

> 
> *.h files can be C, Ch, C++, Objective-C or Objective-C++. When compiling a 
> program that includes such a file, the compiler will parse it according to 
> where the *.h file is included, and your make target should set the 
> appropriate dependencies, but a versioning system? I would only expect it to 
> deliver the file version corresponding to whatever changeset you have made 
> current, either by fetching the appropriate full copy of the file, or by 
> applying the appropriate diff compared with the current version.
> 
> 
> Best regards,
> Tony.
> -- 
> hundred-and-one symptoms of being an internet addict:
> 83. Batteries in the TV remote now last for months.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "GitHub" group.
> To post to this group, send email to github@googlegroups.com.
> To unsubscribe from this group, send email to 
> github+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/github?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to