scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

Use >| operator in _rebuild_git_index when overwriting .git_index file #197

Closed tjlevine closed 8 years ago

tjlevine commented 8 years ago

If the shell has the noclobber option set, s --rebuild will fail to update the .git_index file. Using the >| operator instead of the > operator forces the .git_index file to be clobbered, which is the desired behavior.

ndbroadbent commented 8 years ago

Sweet, thanks!