tj.git-extras/bin
Sam Thursfield 6a000ec99b effort, summary: Correctly estimate the number of active days
The output of `git log` is not exactly in chronological order. The
default sort option (--date-order) is described in the man page as
follows:

    Show no parents before all of its children are shown, but otherwise
    show commits in the commit timestamp order.

The `uniq` program will only remove duplicate lines if they follow each
other. In order for this to work correctly, we need to ensure that the
list of dates is exactly in chronological order. There doesn't seem to
be a `git log` option to achieve this, but we can use the `sort`
program. I used reverse sort (`sort -r`) since the output will be roughly
reverse-sorted already.

It's also worth noting that the default --date-order option sorts by
commit date, but git-summary uses *author* date (%ai). Passing
--author-date-order doesn't fix this issue, though, so I didn't change
that.

At the time of writing, this change reduces the number of 'active days'
for git-extras.git from 367 to 331.
2015-09-14 13:32:10 +01:00
..
git-alias abort git-alias when too many arguments given. 2015-08-09 19:27:49 +08:00
git-archive-file archive-file: cleaner way to get current branch 2015-07-25 06:09:43 +02:00
git-authors use standard git editor in git-authors & git-changelog 2015-02-13 17:51:22 -05:00
git-back More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-bug remove duplicate checkout 2015-09-08 16:08:50 +08:00
git-changelog git-changelog: use cp instead of mv 2015-07-29 08:27:30 +02:00
git-chore remove duplicate checkout 2015-09-08 16:08:50 +08:00
git-clear made more precise security-question. 2015-09-01 15:17:14 +02:00
git-commits-since More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-contrib contrib: refactor, and conform to git 2015-07-29 12:03:45 +02:00
git-count More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-create-branch More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-delete-branch When deleting a branch check if git has config. 2014-12-17 11:33:09 +01:00
git-delete-merged-branches when deleting merged branches, preserve "svn" branch for git-svn 2015-03-17 14:00:40 -04:00
git-delete-submodule More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-delete-tag More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-delta git-delta 2015-02-09 21:09:11 -05:00
git-effort effort, summary: Correctly estimate the number of active days 2015-09-14 13:32:10 +01:00
git-extras make it possible to update via git extras 2015-08-16 11:47:16 +08:00
git-feature add alias to git-feature 2015-09-11 20:23:17 +08:00
git-fork fork: http-urls had colon instead of slash 2015-08-05 04:27:32 +02:00
git-fresh-branch git-fresh-branch: Check for changes and prompt for input before nuking. (Issue: #142) 2015-03-09 22:14:37 -04:00
git-gh-pages fix gh-pages to stash and don't delete files 2015-03-03 09:04:20 -03:00
git-graft graft: Require destination branch. Fix #23 2015-07-25 04:16:09 +02:00
git-guilt guilt: remove --help option 2015-08-07 08:35:32 +02:00
git-ignore Don't treat ignored patterns as regexps 2015-04-29 22:48:16 -07:00
git-info More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-line-summary line-summary: 'function f{...' -> 'f() {...' 2015-08-07 08:36:56 +02:00
git-local-commits More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-lock More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-locked More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-merge-into merge-into: change --ff option to --ff-only. fix #421 2015-08-14 13:03:39 +02:00
git-merge-repo git-merge-repo 2015-04-19 12:23:02 -04:00
git-missing More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-obliterate More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-pr More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-psykorebase Add documentation. 2015-08-11 11:26:52 +02:00
git-pull-request Added option to specify base 2014-09-11 13:10:01 +01:00
git-rebase-patch extra mktemp into git_extra_mktemp 2015-02-05 14:22:49 +08:00
git-refactor remove duplicate checkout 2015-09-08 16:08:50 +08:00
git-release + custom commit message options supports 2015-02-12 17:55:31 +08:00
git-rename-tag More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-repl add welcome in git-repl 2014-09-13 20:56:36 +08:00
git-reset-file More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-root More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-rscp symlink git-rscp to git-scp 2015-01-19 12:27:56 +08:00
git-scp Updated documentation for git-scp and slight feature change 2015-04-27 15:05:17 +08:00
git-setup Allow empty initial commit when setup repo. 2015-02-20 12:25:25 +08:00
git-show-merged-branches add show-merged-branches and show-unmerged-branches 2015-03-18 09:33:02 -04:00
git-show-tree More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-show-unmerged-branches add show-merged-branches and show-unmerged-branches 2015-03-18 09:33:02 -04:00
git-squash use argument separator for usages of grep which can choke on weird input 2015-04-08 18:51:30 -04:00
git-summary effort, summary: Correctly estimate the number of active days 2015-09-14 13:32:10 +01:00
git-touch More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-undo More portable she-bangs. 2014-11-30 17:47:26 +05:30
git-unlock More portable she-bangs. 2014-11-30 17:47:26 +05:30