diff options
author | Tom Willemse | 2013-05-05 03:04:47 +0200 |
---|---|---|
committer | Tom Willemse | 2013-05-05 03:04:47 +0200 |
commit | fc17fbd0e091357f87508b7afbb3f0b87b60594f (patch) | |
tree | 0c4f717a499bbeb5268179630ff49d5d3097cf6d /src/Makefile | |
parent | 77513487aa995625fd7af1f9f78f6016e7058445 (diff) | |
download | gitto-fc17fbd0e091357f87508b7afbb3f0b87b60594f.tar.gz gitto-fc17fbd0e091357f87508b7afbb3f0b87b60594f.zip |
Separate repository line formatting into format-repository
This way people can override this function in their RC files, and
specify what information they would like to see where.
They would do this with, for example:
,----
| (set! format-repository
| (lambda (name pushable pullable clean? updated)
| (format #t "~a: ~d up; ~d down; ~a. Updated ~a\n"
| name pushable pullable (if clean? "clean" "dirty")
| updated)))
`----
To turn each line into the like of:
,----
| gitto: 1 up; 0 down; dirty. Updated 4 months ago
`----
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions