alibaba / git-repo-go

git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository.
https://git-repo.info/
Apache License 2.0
262 stars 60 forks source link

ssh_info api: add new field review_ref #14

Closed jiangxin closed 3 years ago

jiangxin commented 3 years ago

Add new member field review_ref in ssh_info API. When downloading a review, return the reference name by parsing the pattern defined in review_ref of ssh_info.

Signed-off-by: Jiang Xin zhiyou.jx@alibaba-inc.com

ratmice commented 3 years ago

Can confirm it fixes #13, and uses the user set in sshd_info, after clearing the info/sshinfo.cache.

But should note that I haven't actually finished past version negotiation in the proc-receive hook, So i'm not testing end->end.