chendong0444 / gitinspector

Automatically exported from code.google.com/p/gitinspector
GNU General Public License v3.0
0 stars 0 forks source link

Add support for extensionless files in statistics and support regexp matching with --file-types. #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run gitinspector on any repo
2. have files in the repo without an extension
3. see missing commits

What is the expected output? What do you see instead?

I see only those commits against files with extensions.  

What version of the product are you using? What version of Python? On what
operating system?

Ubuntu-14.04 + gitinepector-0.3.2

I suggest a --file-types=all or --file-types regexp that supports "*" or ".*".

Is there any other way to get statistics on files without extensions?

Original issue reported on code.google.com by broad...@gmail.com on 20 Feb 2015 at 11:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi. Actually, there currently is no way to include extensionless files. It's 
intentionally written to filter out crud that isn't source code. But you are 
right, there should probably be some way to include files without extensions. 
And regexp support is probably not a bad idea either.

I will target this to be included in 0.4.1 - it won't make it into the upcoming 
0.4.0 which is in feature freeze.

/Adam Waldenberg

Original comment by gitinspe...@ejwa.se on 21 Feb 2015 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by gitinspe...@ejwa.se on 21 Feb 2015 at 9:03

GoogleCodeExporter commented 9 years ago
Issue 61 has been merged into this issue.

Original comment by gitinspe...@ejwa.se on 26 Feb 2015 at 11:59