This commit is contained in:
parent
3a7cf081f0
commit
636f23d834
1
file.go
1
file.go
|
@ -106,7 +106,6 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) {
|
||||||
page := strings.Replace(p, " ", "_", -1)
|
page := strings.Replace(p, " ", "_", -1)
|
||||||
cmd := exec.Command("git", "log", "--pretty=oneline", "--no-decorate", "--color=never", page)
|
cmd := exec.Command("git", "log", "--pretty=oneline", "--no-decorate", "--color=never", page)
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
cmd.Stdout = os.Stdout
|
|
||||||
cmd.Dir = fp.dirname
|
cmd.Dir = fp.dirname
|
||||||
output, err := cmd.StdoutPipe()
|
output, err := cmd.StdoutPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user