Merge branch 'jk/stash-require-clean-index' into maint
A hotfix for the topic already in 'master'. * jk/stash-require-clean-index: Revert "stash: require a clean index to apply"
This commit is contained in:
@ -457,8 +457,6 @@ apply_stash () {
|
||||
assert_stash_like "$@"
|
||||
|
||||
git update-index -q --refresh || die "$(gettext "unable to refresh index")"
|
||||
git diff-index --cached --quiet --ignore-submodules HEAD -- ||
|
||||
die "$(gettext "Cannot apply stash: Your index contains uncommitted changes.")"
|
||||
|
||||
# current index state
|
||||
c_tree=$(git write-tree) ||
|
||||
|
||||
Reference in New Issue
Block a user