[Rev 01] RFR: git-sync: use refspec instead of --prune-tags
Robin Westberg
rwestberg at openjdk.java.net
Mon Mar 23 07:51:14 UTC 2020
On Mon, 23 Mar 2020 07:47:01 GMT, Erik Helin <ehelin at openjdk.org> wrote:
>> Hi all,
>>
>> please review this small patch that uses a refspec instead of `--prune-tags` for
>> `GitRepository.fetchRemote`. The flag `--prune-tags` was introduced in Git 2.17
>> and we want to support older Git versions, so I opted to use a refspec instead
>> to achieve the same effect.
>>
>> Testing:
>> - Manual testing of `git sync` on Linux x64
>>
>> Thanks,
>> Erik
>
> Erik Helin has updated the pull request incrementally with one additional commit since the last revision:
>
> Add refspec for non-tag heads as well
Looks good!
-------------
Marked as reviewed by rwestberg (Reviewer).
PR: https://git.openjdk.java.net/skara/pull/529
More information about the skara-dev
mailing list