Check for .git/HEAD directly, instead of cd'ing into .git first.

Authored by mwolff on Sep 5 2016, 4:02 PM.

Description

Check for .git/HEAD directly, instead of cd'ing into .git first.

Should be faster, less code, and functionality wise the same.

Details

Committed
mwolffSep 5 2016, 4:02 PM
Parents
R33:d641fca76215: Properly initialize EditorContext::urls
Branches
Unknown
Tags
Unknown