Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 4034092

Browse files
committed
Merge 'stash-reflog' into HEAD
2 parents 9c90f99 + 688cf6e commit 4034092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-stash.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ save_stash () {
262262
clear_stash || die "$(gettext "Cannot initialize stash")"
263263

264264
create_stash "$stash_msg" $untracked
265+
mkdir -p "$GIT_DIR/logs/${ref_stash%/*}"
265266
store_stash -m "$stash_msg" -q $w_commit ||
266267
die "$(gettext "Cannot save the current status")"
267268
say Saved working directory and index state "$stash_msg"

0 commit comments

Comments
 (0)