commit | cf7c0834cfc24c5c9584695c657c6baf97d0fbb3 | [log] [tgz] |
---|---|---|
author | Akshay Verma <akshayverma948@gmail.com> | Thu Mar 15 21:56:30 2018 +0530 |
committer | Akshay Verma <akshayverma948@gmail.com> | Sat Mar 17 16:29:23 2018 +0530 |
tree | 49be7db9b2f7b0e0cf9026a84b81716ddfc66034 | |
parent | 4ea1f0cabdda28fdee837ee2f99e14375028b5f4 [diff] |
Download latest patch when no patch is specified When someone does "repo download -c <project> <change>" without specifying a patch number, by default patch 1 is downloaded. An alternative is to look for the latest patch and download the same when no explicit patch is given. This commit does the same by identifying the latest patch using "git ls-remote". Change-Id: Ia5fa7364415f53a3d9436df4643e38f3c90ded58
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.