diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-29 21:49:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-29 21:49:33 -0400 |
| commit | 2998a84ab644ad39b62553baf9c4b30269be7d75 (patch) | |
| tree | 092a637f24a094a31c3f40bd3a5616a336d97e49 /include | |
| parent | 147b659f3b1b54752e37c267862a5ade3eb9a902 (diff) | |
| parent | aebdee8e3d2871ef4606f1feb0f46a82cfca1373 (diff) | |
| download | libgit2-2998a84ab644ad39b62553baf9c4b30269be7d75.tar.gz | |
Merge pull request #5841 from J0Nes90/features/checkout-dry-run
Checkout dry-run
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/checkout.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h index ca6f17aa6..c7aeee431 100644 --- a/include/git2/checkout.h +++ b/include/git2/checkout.h @@ -178,6 +178,12 @@ typedef enum { GIT_CHECKOUT_DONT_WRITE_INDEX = (1u << 23), /** + * Show what would be done by a checkout. Stop after sending + * notifications; don't update the working directory or index. + */ + GIT_CHECKOUT_DRY_RUN = (1u << 24), + + /** * THE FOLLOWING OPTIONS ARE NOT YET IMPLEMENTED */ |
