Record merge progress durably and finish pushed merges at startup
This commit is contained in:
+6
-1
@@ -251,8 +251,13 @@ func FastForward(repo, rev string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func FetchFastForward(repo, branch string) error {
|
||||
func Fetch(repo string) error {
|
||||
_, err := run(repo, "fetch", Remote)
|
||||
return err
|
||||
}
|
||||
|
||||
func FetchFastForward(repo, branch string) error {
|
||||
err := Fetch(repo)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user