Chromium Code Reviews| Index: git_common.py |
| diff --git a/git_common.py b/git_common.py |
| index 31a62b89043adae8f24da15f88205b0e7083538b..ba1fc9125c9755649494e029999ea9ced9d6fa36 100644 |
| --- a/git_common.py |
| +++ b/git_common.py |
| @@ -733,12 +733,13 @@ def get_git_version(): |
| return tuple(int(x) for x in version.split('.')) |
| -def get_all_tracking_info(): |
| +def get_all_tracking_info(include_tracking_status): |
|
iannucci
2014/09/03 15:51:12
hm.. should rename this function?
get_all_trackin
calamity
2014/09/08 01:00:29
Done.
|
| format_string = ( |
| '--format=%(refname:short):%(objectname:short):%(upstream:short):') |
| # This is not covered by the depot_tools CQ which only has git version 1.8. |
| - if get_git_version() >= MIN_UPSTREAM_TRACK_GIT_VERSION: # pragma: no cover |
| + if (include_tracking_status and |
| + get_git_version() >= MIN_UPSTREAM_TRACK_GIT_VERSION): # pragma: no cover |
| format_string += '%(upstream:track)' |
| info_map = {} |