This repository has been archived on 2025-10-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gitwarrior/internal/gitw/diff.go

12 lines
343 B
Go

package gitw
import "fmt"
func prompt(value, theirs, mine string) string {
// TODO: create tmp file with the corresponding contents
// open tmp file using the $EDITOR environment variable
// parse and return output of tmp file after $EDITOR execution has been completed
fmt.Printf("\tPrompting for value: '%s'\n", value)
return value
}