Skip to content

Commit 9b25050

Browse files
author
Dawa Ometto
committed
Update inline docs
1 parent 05505a0 commit 9b25050

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/rugged/rugged_repo.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,8 +970,9 @@ static VALUE rb_git_repo_revert_commit(int argc, VALUE *argv, VALUE self)
970970
* The following options can be passed in the +options+ Hash:
971971
*
972972
* :location ::
973-
* Whether to apply the changes to the workdir (default),
974-
* the index, or both. Valid values: +:index+, +:workdir+, +:both+.
973+
* Whether to apply the changes to the workdir (default for non-bare),
974+
* the index (default for bare) or both. Valid values: +:index+, +:workdir+,
975+
* +:both+.
975976
*
976977
* :delta_callback ::
977978
* While applying the patch, this callback will be executed per delta (file).

0 commit comments

Comments
 (0)