Commit 4be911ed5341c159d93089befd31a1190dbd6353

Stefan Sperling 2022-03-10T22:17:13

fix got_repo_match_object_id() docstring, it is not specific to commits This was a leftover from got_repo_resolve_commit_arg() which was superseded in commit 71a276322e39e17baf5697b5daac8e8fe6ad2ae1

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/got_repository.h b/include/got_repository.h
index 16dcde3..b6e44e8 100644
--- a/include/got_repository.h
+++ b/include/got_repository.h
@@ -139,7 +139,7 @@ const struct got_error *got_repo_match_object_id_prefix(struct got_object_id **,
 
 /*
  * Given an object ID string or reference name, attempt to find a corresponding
- * commit object.
+ * object.
  * The object type may be restricted to commit, tree, blob, or tag.
  * Tags will only be matched if a list of references is provided.
  * GOT_OBJ_TYPE_ANY will match any type of object.