Merge branch 'dl/merge-autostash'
"git merge" learns the "--autostash" option. * dl/merge-autostash: (22 commits) pull: pass --autostash to merge t5520: make test_pull_autostash() accept expect_parent_num merge: teach --autostash option sequencer: implement apply_autostash_oid() sequencer: implement save_autostash() sequencer: unlink autostash in apply_autostash() sequencer: extract perform_autostash() from rebase rebase: generify create_autostash() rebase: extract create_autostash() reset: extract reset_head() from rebase rebase: generify reset_head() rebase: use apply_autostash() from sequencer.c sequencer: rename stash_sha1 to stash_oid sequencer: make apply_autostash() accept a path rebase: use read_oneliner() sequencer: make read_oneliner() extern sequencer: configurably warn on non-existent files sequencer: make read_oneliner() accept flags sequencer: make file exists check more efficient sequencer: stop leaking buf ...
This commit is contained in:
@ -1721,6 +1721,8 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
|
||||
&oid, flags);
|
||||
}
|
||||
|
||||
apply_autostash(git_path_merge_autostash(the_repository));
|
||||
|
||||
UNLEAK(err);
|
||||
UNLEAK(sb);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user