diff options
Diffstat (limited to 'git_config.py')
-rw-r--r-- | git_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_config.py b/git_config.py index e789be2e..c4c31e18 100644 --- a/git_config.py +++ b/git_config.py | |||
@@ -619,7 +619,7 @@ class Remote(object): | |||
619 | def ToLocal(self, rev): | 619 | def ToLocal(self, rev): |
620 | """Convert a remote revision string to something we have locally. | 620 | """Convert a remote revision string to something we have locally. |
621 | """ | 621 | """ |
622 | if IsId(rev): | 622 | if self.name == '.' or IsId(rev): |
623 | return rev | 623 | return rev |
624 | 624 | ||
625 | if not rev.startswith('refs/'): | 625 | if not rev.startswith('refs/'): |