We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa893f9 commit 334a485Copy full SHA for 334a485
docs/guides/101-samples/index.md
@@ -845,6 +845,9 @@ error = git_index_write(idx);
845
846
<h3 id="index_trees">Trees</h3>
847
848
+Note that all tree operations work recursively.
849
+For example, `git_index_read_tree` will replace not only the root directory, but all subdirectory contents as well.
850
+
851
```c
852
/* Overwrite the index contents with those of a tree */
853
git_tree *tree = NULL;
0 commit comments