repo.or.cz
/
git-scripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix handling of dry-run option.
[git-scripts.git]
/
git-svnup
blob
00f6b3a1dc5124d04806e885883b60ee92ae5a69
1
#!/bin/bash
2
3
if
[[
"$(git stash)"
==
"No local changes to save"
]];
then
4
NO_STASH
=
true
5
fi
6
git svn rebase
7
8
if
[[
"
$NO_STASH
"
!=
"true"
]];
then
9
git stash apply
10
fi