Fix handling of dry-run option.
[git-scripts.git] / git-svnup
blob00f6b3a1dc5124d04806e885883b60ee92ae5a69
1 #!/bin/bash
3 if [[ "$(git stash)" == "No local changes to save" ]]; then
4 NO_STASH=true
5 fi
6 git svn rebase
8 if [[ "$NO_STASH" != "true" ]]; then
9 git stash apply