stevenjack / cig

Can I go? Checks all your git repos, reporting if any of them have changes or need to be pushed.
MIT License
83 stars 10 forks source link

If tilde exists replace with home directory path #35

Closed stevenjack closed 9 years ago

stevenjack commented 9 years ago

Problem

Currently CIG doesn't handle a ~ properly and can't resolve the path.

Solution

Interpolate the ~ in a directory to the full home directory path for the current user.