Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#include "object.h"
#include "add-interactive.h"

// Student Contributor: Arsiya Tasleem - KL University
// Email: [email protected]
// Learning Git internal data structures

struct signature_check;
struct strbuf;
struct tree;
Expand All @@ -23,6 +27,8 @@ struct commit_list {
* The size of this struct matters in full repo walk operations like
* 'git clone' or 'git gc'. Consider using commit-slab to attach data
* to a commit instead of adding new fields here.
*
* Student Note: Understanding Git commit structure for learning
*/
struct commit {
struct object object;
Expand Down Expand Up @@ -374,4 +380,7 @@ int parse_buffer_signed_by_header(const char *buffer,
const struct git_hash_algo *algop);
int add_header_signature(struct strbuf *buf, struct strbuf *sig, const struct git_hash_algo *algo);

// End of commit.h - Contributions welcome from students learning Git!
// Modified by: Arsiya Tasleem

#endif /* COMMIT_H */
Loading