Commit graph

26 commits

Author SHA1 Message Date
spacewander 3330af6cd4 sort unless there is only one item 2015-03-22 22:55:15 +08:00
spacewander 32aee50bc6 extra mktemp into git_extra_mktemp
now we can put all utility functions to git-extra-utility
2015-02-05 14:22:49 +08:00
Matthew Avant 7701ba4069 Use mktemp for temporary file creation. 2014-12-04 11:01:40 -08:00
Dan Jackson d7d6ff2fed Use process-specific tmp file and clean up on exit
Fixes #279 using the suggestion from @hemanth, with some minor tweaks:

- I kept the leading . because I figured there was a reason it was put there originally.
- Changed the show_cursor method that's called when the process exits (prematurely or naturally) to be show_cursor_and_cleanup, and added a line to it that cleans up the tmp file.
2014-11-26 10:23:54 -08:00
hemanth.hm 47bb6e0f74 Merge pull request #222 from jsipprell/pull/filenames-containing-spaces
git-effort handles filenames with whitespace.
2014-07-06 12:36:08 +05:30
Konstantin Schukraft e4290dfb32 invoke bash via /usr/bin/env for portability 2014-07-02 09:41:37 +02:00
Jesse Sipprell 1479b9633a
git effort: handle filenames containing whitespace cleanly 2014-04-22 20:21:10 -04:00
TJ Holowaychuk 41c1719d84 change git-effort(1) to use /bin/bash for now. Closes #78 2012-11-20 15:17:51 -08:00
TJ Holowaychuk 2287e07204 fix git-extras whitespace 2012-06-28 17:03:10 -07:00
Jesús Espino abf55ae76c Fixed 2 bashism and now works on bash and dash 2012-06-29 00:30:54 +02:00
TJ Holowaychuk c10be63473 Revert "Removing a bashism from git-effort"
This reverts commit cb6c34bc26.
2012-06-28 12:34:10 -07:00
Jesús Espino cb6c34bc26 Removing a bashism from git-effort 2012-06-28 21:15:34 +02:00
Leila Muhtasib 4fa2c1d144 Added dots for fill instead of blank spaces 2012-06-12 11:44:33 -04:00
TJ Holowaychuk 738c784352 replace unsorted with sorted 2012-02-08 18:35:25 -08:00
TJ Holowaychuk a1ed706328 Added: sort git-effort(1) results. Closes #73 2012-02-08 18:17:13 -08:00
TJ Holowaychuk 643d20801b refactoring git-effort 2012-02-08 18:16:02 -08:00
Tj Holowaychuk f6e8cc6ecc Added: allow files to be passed to git-effort(1). Closes #71 2012-02-08 16:43:49 -08:00
Tj Holowaychuk 6aa2944727 Added: hide/show cursor for git-effort(1)
since it looks really funny otherwise
2012-02-08 16:40:26 -08:00
Tj Holowaychuk 38cba1a781 Changed: color git-effort(1) commits / active days independently 2012-02-08 16:35:47 -08:00
Tj Holowaychuk a75f6db5bc refactord git-effort(1) 2012-02-08 16:31:17 -08:00
TJ Holowaychuk 3d8f8f340b Added active days to git-effort(1) output 2012-02-08 08:18:01 -08:00
TJ Holowaychuk 77ff0fe0d4 Added a greater color range to git-effort(1) 2012-02-08 08:02:30 -08:00
TJ Holowaychuk f07197c2cd use red instead of green 2012-02-08 08:00:50 -08:00
TJ Holowaychuk c2bd285ef8 ws 2012-02-08 07:59:57 -08:00
TJ Holowaychuk 9c7232afcf Added --above <n> to git-effort(1) 2012-02-08 07:59:19 -08:00
TJ Holowaychuk a1ea7e3a32 Added git-effort(1) (not yet complete) 2012-02-07 22:40:37 -08:00