rtomayko / git-sh

A customized bash environment suitable for git work.
GNU General Public License v2.0
737 stars 83 forks source link

If there are any stashed changes, show a flag in PS1 #8

Closed mgax closed 13 years ago

rtomayko commented 13 years ago

I like it. One thing I'd like to see is an option for enabling/disabling this kind of stuff. I have a few projects with a bunch of stuff stashed to use with git stash apply. It'd be nice to be able to git config sh.dirty-stash false to disable it either per-project or in ~/.gitconfig. I can take a look at that. I'd like to do the same for the dirty worktree flag.

mgax commented 13 years ago

Both flags can currently be disabled with git config sh.dirty[-stash] ''. I changed my patch to use 'dirty-stash' instead of 'dirty_stash' for the config option.

mgax commented 13 years ago

I just rebased the commit on top of your current master. Anything else I could do to get the patch accepted?

rtomayko commented 13 years ago

Sorry, patch looked fine. This just fell off my radar.