RFR: git-fork: use --fast-forward instead of --pull when syncing

Robin Westberg rwestberg at openjdk.java.net
Thu Feb 27 12:09:20 UTC 2020


On Thu, 27 Feb 2020 11:15:23 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this small patch that makes `git fork` use `--fast-forward` when
> running `git-sync` instead of `--pull`. Using `--fast-forward` ensures that all
> branches in the newly cloned repository will be up to date.
> 
> Testing:
> - Manual testing of `git fork` on Linux x64
> 
> Thanks,
> Erik

Looks good!

-------------

Marked as reviewed by rwestberg (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/482


More information about the skara-dev mailing list