contributors: to read from a git process I think utf8 should always be used
parent
420ca29795
commit
37151da9df
|
@ -1,14 +1,13 @@
|
||||||
! Copyright (C) 2007, 2008 Slava Pestov.
|
! Copyright (C) 2007, 2008 Slava Pestov.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: io io.directories io.encodings.ascii io.launcher
|
USING: io io.directories io.encodings.utf8 io.launcher io.pathnames
|
||||||
io.pathnames math.statistics prettyprint sequences sorting
|
math.statistics prettyprint sequences sorting system ;
|
||||||
system ;
|
|
||||||
IN: contributors
|
IN: contributors
|
||||||
|
|
||||||
: changelog ( -- authors )
|
: changelog ( -- authors )
|
||||||
image-path parent-directory [
|
image-path parent-directory [
|
||||||
"git log --no-merges --pretty=format:%an"
|
"git log --no-merges --pretty=format:%an"
|
||||||
ascii [ lines ] with-process-reader
|
utf8 [ lines ] with-process-reader
|
||||||
] with-directory ;
|
] with-directory ;
|
||||||
|
|
||||||
: contributors ( -- )
|
: contributors ( -- )
|
||||||
|
|
Loading…
Reference in New Issue