Colin Seymour
1a769c4665
Handle repo cleanup race more elegantly ( #3930 )
...
* Don't attempt to get pwd for error message
* Print error instead of raising exception
This is more user-friendly too.
* Switch back to raise, but rescue it too
* Refactor
2017-12-11 12:37:21 +00:00
Paul Chaignon
4e0b5f02aa
Fix usage line in binary ( #3564 )
...
Linguist cannot work on any directory; it needs to be a Git
repository.
2017-04-20 10:18:03 +01:00
Brandon Black
f951ec07de
bin help cleanup
2017-01-03 15:52:22 -08:00
Vadim Markovtsev
e9ac71590f
Add --json option to bin/linguist
2017-01-03 14:56:12 -08:00
Alhadis
e930ee1a8e
Fix typos
2016-08-29 02:24:21 +10:00
Vicent Marti
2448ff8314
git-linguist: Print PWD
2016-03-11 10:27:10 +01:00
Patrick Reynolds
92ed2d189e
Catch ENOENT in clear_cache
...
There's no need for `clear_cache` to fail if the cache doesn't exist,
either because we call `clear_cache` twice or because no cache was
previously written on this particular repo.
2015-12-09 23:24:32 -06:00
Vicent Marti
7c759d4d29
git-linguist: Do not write cache if repo is gone
2015-09-28 01:45:49 -07:00
Vicent Marti
41911d6921
git-linguist: Properly handle $GIT_DIR from git
2015-09-28 01:45:49 -07:00
Vicent Marti
0145a0adb2
git-linguist: Delay loading @commit_oid
2015-09-16 05:50:35 -07:00
Vicent Marti
13d1f662d1
Add the git-linguist helper
2015-09-14 08:42:51 -07:00
Arfon Smith
464d6e9ec4
Simplifying requires
2015-03-12 10:41:34 -07:00
Arfon Smith
61faea0298
Fixing up bin/linguist
2014-07-23 11:20:31 -05:00
Vicent Marti
bc34345a56
Fix the linguist binary
2014-06-26 13:03:30 +02:00
Ted Nyman
49f29a53c0
Nicer breakdown output
2013-12-29 23:56:13 -08:00
Ted Nyman
b7e2f7cff9
Clearer naming
2013-12-28 20:00:11 -08:00
Ted Nyman
6a78ac61a7
Add --breakdown option for linguist binary
2013-12-28 19:56:41 -08:00
Ted Nyman
dd27ddda17
Fixup output
2013-12-28 19:40:02 -08:00
Ted Nyman
e660442e2e
Add support for stats breakdown by file per repo
2013-12-28 19:22:13 -08:00
Ted Nyman
37ef402a1f
Formatting
2013-12-16 21:01:39 -08:00
Andy Grunwald
fdf000ec62
Add decimal places to statistic output
...
If you analyze a project sometimes the statistic outputs a
language with 0%. At first it seems that the language is not
part of this project, but there are only some decimal places
missing.
2013-10-02 20:40:12 +02:00
Ted Nyman
33434f08f4
Documentation
2013-09-02 00:02:15 -07:00
Ted Nyman
750804876e
Docs for the linguist script
2013-07-26 16:08:24 -07:00
Joshua Peek
a41f40a30e
Remove extname from bin out
2012-08-15 09:31:01 -07:00
Ted Nyman
1ac6e87b75
s/to/too in bin/linguist
2012-07-13 23:10:14 -07:00
Joshua Peek
0864b9847f
Replace Lexer with Pygments::Lexer
2011-08-23 12:41:06 -05:00
Joshua Peek
18cc2b2ee1
lexers.yml disclaimer
2011-07-20 21:04:23 -05:00
Joshua Peek
7f6494be1a
Simpler lexer yaml format
...
Fixes #25
2011-07-02 20:07:34 -05:00
Joshua Peek
101a500dbd
Unknown is impossible
2011-06-25 14:02:15 -05:00
Joshua Peek
4030d397db
Whitespace
2011-06-25 14:01:43 -05:00
Joshua Peek
c88b2f7739
Remove content-type from bin
2011-06-25 14:01:06 -05:00
Joshua Peek
1b40ed4986
Tweak large copy
2011-06-25 14:00:35 -05:00
Joshua Peek
c35519c893
Ensure all lexer attributes are Arrays
2011-06-18 19:59:30 -05:00
Joshua Peek
87d55068a3
Print pygments version
2011-05-31 14:08:54 -05:00
Joshua Peek
ac8e66a388
Close paren
2011-05-25 13:27:00 -05:00
Joshua Peek
31f5882774
Add file inspection to bin
2011-05-25 13:12:24 -05:00
Joshua Peek
ed9888cf9c
Add basic linguist bin
2011-05-25 12:52:29 -05:00
Joshua Peek
722be40c20
Add auto generated comment to lexer dump
2011-05-24 19:39:09 -05:00
Joshua Peek
c532c319a1
Add pygments lexer dump script
2011-05-19 23:21:45 -05:00