summaryrefslogtreecommitdiff
path: root/include/git2/reset.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-08-19 21:24:51 +0200
committernulltoken <emeric.fermas@gmail.com>2012-09-17 10:48:28 +0200
commitee8bb8ba649118c4abb09cb02bd3c02e60b98e06 (patch)
treebcbcdb7e25aac03a883de3f15de977192602e4da /include/git2/reset.h
parente93af304112735f02bfeb0833b58ed8230de2371 (diff)
downloadlibgit2-ee8bb8ba649118c4abb09cb02bd3c02e60b98e06.tar.gz
reset: add support for GIT_RESET_HARD mode
Diffstat (limited to 'include/git2/reset.h')
-rw-r--r--include/git2/reset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/reset.h b/include/git2/reset.h
index cd263fa99..cdcfb7671 100644
--- a/include/git2/reset.h
+++ b/include/git2/reset.h
@@ -24,6 +24,9 @@ GIT_BEGIN_DECL
* Specifying a Mixed kind of reset will trigger a Soft reset and the index will
* be replaced with the content of the commit tree.
*
+ * Specifying a Hard kind of reset will trigger a Mixed reset and the working
+ * directory will be replaced with the content of the index.
+ *
* TODO: Implement remaining kinds of resets.
*
* @param repo Repository where to perform the reset operation.