5 years ago 9ba0479c9a Stefan Sperling
fix memleaks in write_tree()
5 years ago 36a387004f Stefan Sperling
stop caching head ref's value in struct got_worktree; may become stale
5 years ago 1251a9e5a5 Stefan Sperling
note potential problem in the existing out-of-dateness check
5 years ago d56d26cef8 Stefan Sperling
move out-of-dateness check to a helper function
5 years ago 7200e87cc1 Stefan Sperling
handle blobs deleted in HEAD correctly in commit out-of-date check
5 years ago 819f385b20 Stefan Sperling
ensure that commits use intended base blobs for changes
5 years ago e75eb4dad0 Stefan Sperling
rename field in 'struct commitable'
5 years ago 588edf975c Stefan Sperling
commit against the HEAD commit, not the work tree's base commit
5 years ago 5501382f68 Stefan Sperling
update commit command's description
5 years ago 74416c4791 Stefan Sperling
document 'got commit'
5 years ago c6fc0acd8e Stefan Sperling
fix usage_commit()
5 years ago 44d03001f2 Stefan Sperling
don't traverse into unmodified subtrees during commit
5 years ago 8eecaf36f6 Stefan Sperling
don't close a tree in the wrong place; fixes a bus error crash
5 years ago 5bbcb68ba9 Stefan Sperling
add another commit test
5 years ago bc70eb798d Stefan Sperling
fix bug in concurrent commit check and add another commit test
5 years ago 09f5bd908b Stefan Sperling
try to detect concurrent commits; not perfect yet (see comments)
5 years ago a0275e4081 Stefan Sperling
hook up commit regress tests
5 years ago 35bd8fed48 Stefan Sperling
require GOT_AUTHOR environment variable
5 years ago 768aea60a1 Stefan Sperling
fix perms in committed tree entries
5 years ago f2c16586bf Stefan Sperling
update HEAD reference after commit
5 years ago b249b824fb Stefan Sperling
add APIs to change references
5 years ago 135819daf9 Stefan Sperling
don't create unrelated files in basic commit test
5 years ago ebf99748b3 Stefan Sperling
update fileindex after commit
5 years ago baa7dcfad4 Stefan Sperling
don't visit added subtrees reundantly
5 years ago afa376bfb3 Stefan Sperling
report commit item status