Skip to content

Commit 6b4c0d5

Browse files
docs: Add student contributor comments to commit.h
1 parent debbc87 commit 6b4c0d5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

commit.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#include "object.h"
55
#include "add-interactive.h"
66

7+
// Student Contributor: Arsiya Tasleem - KL University
8+
9+
// Learning Git internal data structures
10+
711
struct signature_check;
812
struct strbuf;
913
struct tree;
@@ -23,6 +27,8 @@ struct commit_list {
2327
* The size of this struct matters in full repo walk operations like
2428
* 'git clone' or 'git gc'. Consider using commit-slab to attach data
2529
* to a commit instead of adding new fields here.
30+
*
31+
* Student Note: Understanding Git commit structure for learning
2632
*/
2733
struct commit {
2834
struct object object;
@@ -374,4 +380,7 @@ int parse_buffer_signed_by_header(const char *buffer,
374380
const struct git_hash_algo *algop);
375381
int add_header_signature(struct strbuf *buf, struct strbuf *sig, const struct git_hash_algo *algo);
376382

383+
// End of commit.h - Contributions welcome from students learning Git!
384+
// Modified by: Arsiya Tasleem
385+
377386
#endif /* COMMIT_H */

0 commit comments

Comments
 (0)