-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow commits to be created without index #63
base: master
Are you sure you want to change the base?
Commits on Aug 19, 2013
-
Added CreateBlobFromDisk to Repository.
Based on http://libgit2.github.com/libgit2/#v0.18.0/group/blob/git_blob_create_fromdisk CreateBlobFromDisk reads a file specified by its path and creates a blob. The Result of this function is the oid of the blob and not a blob object. This is to circumvent reading the bytes of the blob into memory.
Configuration menu - View commit details
-
Copy full SHA for 73626b8 - Browse repository at this point
Copy the full SHA 73626b8View commit details -
Added CreateTree to Repository.
CreateTree will create a tree object from an array of TreeEntry. A TreeEntry should follow have: * name: the name/path of the file * id: the id of the blob object * mode: the mode of the file (as described here: http://libgit2.github.com/libgit2/#v0.18.0/group/treebuilder/git_treebuilder_insert) This makes use of git_treebuilder_* of libgit2 to create the tree.
Configuration menu - View commit details
-
Copy full SHA for fb34968 - Browse repository at this point
Copy the full SHA fb34968View commit details -
Added CreateCommit to Repository.
CreateCommit is based on http://libgit2.github.com/libgit2/#v0.18.0/group/commit/git_commit_create. CreateCommit results in the oid of the commit that was created. CreateCommit is called with the following keys: * updateref: maps to update_ref and can be unused. (optional) * author: a signature of the author (optional, committer is used) * committer: a signature of the committer * message: the message of the commit * tree: the id of a tree object * parents: an array of parents A signature has the following keys: * name: the name of the author/committer * email: the email of the author/committer * time: the time of the commit (optional) * offset: timezone offset of the commit-time (optional)
Configuration menu - View commit details
-
Copy full SHA for bda45da - Browse repository at this point
Copy the full SHA bda45daView commit details
Commits on Aug 20, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 2243320 - Browse repository at this point
Copy the full SHA 2243320View commit details
Commits on Aug 23, 2013
-
Configuration menu - View commit details
-
Copy full SHA for dbd1b33 - Browse repository at this point
Copy the full SHA dbd1b33View commit details
Commits on Aug 29, 2013
-
Renamed 'attributes' of tree-entry to 'filemode'.
This should unify the naming convention.
Configuration menu - View commit details
-
Copy full SHA for ab02afe - Browse repository at this point
Copy the full SHA ab02afeView commit details -
Unified naming of tree-entries in createTree.
This allows the use of repo.tree to be passed to createTree.
Configuration menu - View commit details
-
Copy full SHA for 150bd6d - Browse repository at this point
Copy the full SHA 150bd6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 097236a - Browse repository at this point
Copy the full SHA 097236aView commit details