diff --git a/gclient_scm.py b/gclient_scm.py index 49e53f6bf..4a4e60154 100644 --- a/gclient_scm.py +++ b/gclient_scm.py @@ -534,13 +534,6 @@ class GitWrapper(SCMWrapper): target = 'HEAD' if options.upstream and upstream_branch: target = upstream_branch - - # Builds can create hard links which update source files' ctimes, causing - # git to become confused over what files are out-of-date. Calling - # `git status` resynchronizes git and allows `git reset --hard` to not - # re-checkout files (and thus forcing unnecessary rebuilds)". - self._Run(['status'], options) - self._Run(['reset', '--hard', target], options) if current_type == 'detached':