diff options
| author | W. Trevor King <wking@tremily.us> | 2015-03-22 15:51:41 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-04-01 06:16:06 +0200 |
| commit | 244f8739543dd2f6cde1188074fc4b32272e8446 (patch) | |
| tree | 4a5facc513d6665d6df463d1eefd4fc0d7bebfb8 /bindings/python/docs/source/status_and_errors.rst | |
| parent | a351df1a06923b8e826029ec06c7d25aa28f8cf3 (diff) | |
nmbug-status: Use 'show-ref --heads' for loading configs
When loading configs from Git, the bare branch name (without a
refs/heads/ prefix or similar) matches all branches of that name
(including remote-tracking branches):
.nmbug $ git show-ref config
48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/heads/config
48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/remotes/origin/config
4b6dbd9ffd152e7476f5101eff26747f34497cee refs/remotes/wking/config
Instead of relying on the ordering of the matching references, use
--heads to ensure we only match local branches.
Diffstat (limited to 'bindings/python/docs/source/status_and_errors.rst')
0 files changed, 0 insertions, 0 deletions
