commit | c8290ad49e441424b59b88dce3af9919247ca364 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Tue Oct 01 01:07:11 2019 -0400 |
committer | Mike Frysinger <vapier@google.com> | Tue Oct 01 05:53:35 2019 +0000 |
tree | 9ca4ceaeacdcb215588b3f4cc3b525f8a55fbfef | |
parent | 9775a3d5d2dcba0b33fbcf6a911b924be8f9a6e7 [diff] |
project: allow CurrentBranch to return None on errors If the repo client checkout is in an incomplete sync state, the work git repo might be in a bad way. Turn errors parsing HEAD into None since callers of CurrentBranch already need to account for it. Change-Id: Ia7682e29ef4182006b1fb5f5e57800f8ab67a9f4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/239239 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
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.