aboutsummaryrefslogtreecommitdiffstats
path: root/run-gitto
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-05 18:18:18 +0200
committerGravatar Tom Willemse2013-05-05 18:18:18 +0200
commit387e3f1c677305cff2d104bcc6f23d6905b19335 (patch)
tree9b78583b27d682247cb2f3adfd3196e3a1c2e815 /run-gitto
parent3ddbd6c7430337534fe5207d8bfe0eb4bd20a5cd (diff)
downloadgitto-387e3f1c677305cff2d104bcc6f23d6905b19335.tar.gz
gitto-387e3f1c677305cff2d104bcc6f23d6905b19335.zip
Turn format function into a generic method
This changes the way formatting functions can be customized in the init file to: ,---- | (define-method (print (repo <repository>)) | (format #t "~a: ~d up; ~d down; ~a. Updated ~a~%" | (repo-name repo) (repo-pushable repo) (repo-pullable repo) | (if (repo-clean? repo) "clean" "dirty") (repo-updated repo))) `---- Note that it is possible that REPO doesn't exist, so you should always check for that first.
Diffstat (limited to 'run-gitto')
0 files changed, 0 insertions, 0 deletions