diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-03-18 01:54:04 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-05-11 14:12:27 -0400 |
| commit | f78bb2afb3a7f23264c4adf2e9debfa415ca8107 (patch) | |
| tree | a2143316678e3c3c8eb2e75426c46078d93ece67 /src | |
| parent | 958950b6e077f09821c164d0897e66eca553375c (diff) | |
| download | libgit2-f78bb2afb3a7f23264c4adf2e9debfa415ca8107.tar.gz | |
stash: return GIT_EMERGECONFLICT on merge conflict
Diffstat (limited to 'src')
| -rw-r--r-- | src/stash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stash.c b/src/stash.c index d53c22c4d..e3e025771 100644 --- a/src/stash.c +++ b/src/stash.c @@ -738,10 +738,8 @@ int git_stash_apply( &unstashed_index, repo, index_parent_tree, repo_index, index_tree)) < 0) goto cleanup; - - /* TODO: GIT_EMERGECONFLICT */ if (git_index_has_conflicts(unstashed_index)) { - error = GIT_EUNMERGED; + error = GIT_EMERGECONFLICT; goto cleanup; } } |
