git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / stash.h
| 1 | #ifndef STASH_H |
| 2 | #define STASH_H |
| 3 | |
| 4 | enum stash_apply_result { |
| 5 | /* The stash was applied cleanly, or there was nothing to apply. */ |
| 6 | STASH_APPLY_CLEAN = 0, |
| 7 | |
| 8 | /* |
| 9 | * The stash could not be applied because it resulted in |
| 10 | * conflicts. The stash entry is left in place. The "git stash |
| 11 | * apply", "pop" and "branch" subcommands exit with this status |
| 12 | * in this case, mirroring the convention of "git merge-tree" and |
| 13 | * the merge strategies. |
| 14 | */ |
| 15 | STASH_APPLY_CONFLICT = 1, |
| 16 | |
| 17 | /* Something went wrong. */ |
| 18 | STASH_APPLY_ERROR = -1, |
| 19 | }; |
| 20 | |
| 21 | #endif /* STASH_H */ |