mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
#1931 Test patch does not checkout correct base branch
This commit is contained in:
parent
b4970b3cc3
commit
4f03b81ec7
4 changed files with 15 additions and 5 deletions
|
@ -320,7 +320,7 @@ func (repo *Repository) UpdateLocalCopy() error {
|
|||
}
|
||||
} else {
|
||||
_, stderr, err := process.ExecDir(-1, localPath,
|
||||
fmt.Sprintf("UpdateLocalCopy(git pull): %s", repoPath), "git", "pull")
|
||||
fmt.Sprintf("UpdateLocalCopy(git pull --all): %s", repoPath), "git", "pull", "--all")
|
||||
if err != nil {
|
||||
return fmt.Errorf("git pull: %v - %s", err, stderr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue