lib


Log

Author Commit Date CI Message
Stefan Sperling 88d0e355 2019-08-03T14:30:32 report staged status via status callback
Stefan Sperling 3cd04235 2019-08-03T14:30:02 fix definition of GOT_FILEIDX_F_STAGE_SHIFT
Stefan Sperling 0cb83759 2019-08-03T13:31:03 implement got_worktree_stage_paths()
Stefan Sperling 42005733 2019-08-03T14:08:24 make got_worktree_stage() expect absolute on-disk paths
Stefan Sperling 1e71573e 2019-08-03T13:48:47 make stage worktree API look more like the one for 'add'
Stefan Sperling fdfa9bf2 2019-08-03T13:41:43 provide a way for API users to override staged file content
Stefan Sperling df335242 2019-08-03T12:56:22 add staged blob SHA1 to on-disk file index; bump file index version
Stefan Sperling 83718700 2019-08-03T12:28:51 define file index stage flags
Stefan Sperling 7fa0d182 2019-08-03T16:36:22 don't forget to initialize st_mode in revert_file()
Stefan Sperling de426ea6 2019-08-03T15:54:19 schedule_for_deletion(): return success if file is already deleted
Stefan Sperling 3f762da0 2019-08-03T12:06:47 rename file index entry variables called 'entry' to 'ie'
Stefan Sperling 4d555405 2019-08-03T11:59:34 remove ie->path_len; use path length stored in file index entry flags
Stefan Sperling 9714e35f 2019-08-03T11:36:03 remove unused fileindex flags
Stefan Sperling d6c87207 2019-08-02T16:24:13 require callers to pass path length to got_fileindex_entry_get()
Stefan Sperling 466d3b32 2019-08-02T16:18:38 remove redundant strlen() calls from got_path_cmp()
Stefan Sperling 6f8967eb 2019-08-02T16:18:13 always initialize file index entry's path_len field
Stefan Sperling f2b16ada 2019-08-02T15:50:16 cache path length in struct got_pathlist_entry
Stefan Sperling d572f586 2019-08-02T15:42:42 eliminate strlen() calls during fileindex rb tree searches
Stefan Sperling 6bf2c316 2019-08-02T15:12:36 avoid unnecessary memcpy() in read_fileindex_path()
Stefan Sperling fe1d3e7a 2019-08-02T15:01:57 don't potentially leak entry->path in read_fileindex_entry()
Stefan Sperling adc19d55 2019-07-28T12:48:56 remove pointless output parameter from got_pathlist_append()
Stefan Sperling 5c1e53bc 2019-07-28T11:34:22 add support for multiple path arguments to 'got commit'
Stefan Sperling 9bead371 2019-07-28T10:28:25 relax commit out-of-dateness check: consider file content only
Stefan Sperling e4b9a50c 2019-07-27T23:47:46 read_meta_file() can fstat() instead of lstat() since file is already open
Stefan Sperling a2e6d162 2019-07-27T23:11:03 make GOT_ERR_WORKTREE_META errors show more information
Stefan Sperling c3022ba5 2019-07-27T22:15:05 rename "histedit list" to "histedit script" (on-disk filename changed)
Stefan Sperling a9fa2909 2019-07-27T21:51:52 fix 'got revert' on files in newly added subdirectories
Stefan Sperling e4167f30 2019-07-27T20:32:39 ignore missing objects/pack dir in match_packed_object()
Stefan Sperling 8dc303cc 2019-07-27T17:40:39 eliminate needless 'goto' in worktree_status()
Stefan Sperling e82b1d81 2019-07-27T19:12:22 switch back to searching packed objects first; it is indeed faster
Stefan Sperling 31b4484f 2019-07-27T19:01:01 speed up rebase and histedit path prefix check: skip blob content diffs
Stefan Sperling 34f480ff 2019-07-27T18:36:14 open local objects before searching packs; faster on large repos
Stefan Sperling c02b99b6 2019-07-27T17:31:54 report_file_status() wants an on-disk path
Stefan Sperling abb4604f 2019-07-27T17:28:49 stop supporting ie == NULL case in get_file_status()
Stefan Sperling 26a7fe28 2019-07-27T16:42:04 add conversion functions for fileindex/stat permission bits
Stefan Sperling 339c298e 2019-07-27T16:25:48 undo previous 3 commits; stat is faster than open
Stefan Sperling 3f148bc6 2019-07-27T15:59:48 ensure that st_mode keeps being initialized by get_file_status()
Stefan Sperling c18886c6 2019-07-27T15:51:31 avoid fstat() call if no file index entry exists
Stefan Sperling efdd40df 2019-07-27T15:30:49 do a single open(2) call in get_file_status()
Stefan Sperling 6a263307 2019-07-27T15:10:06 remove an unused field from struct check_rebase_ok_arg
Stefan Sperling 30a076bc 2019-07-27T14:57:06 keep fileindex->tree diff code similar to fileindex->DIR diff code
Stefan Sperling 39beb6da 2019-07-27T14:49:09 don't pass DIR pointers around needlessly in fileindex.c
Stefan Sperling 987345dd 2019-07-27T14:37:55 remove unused variable found in write_tree()
Stefan Sperling b90deaa1 2019-07-27T14:31:45 don't fail hard if 'objects/pack' directory does not exist in repo
Stefan Sperling f2ea84fa 2019-07-27T14:26:10 make 'got update' accept mulitple path arguments
Stefan Sperling 54817d72 2019-07-27T12:40:05 fix a status bug exposed by test_update_conflict_wt_rm_vs_repo_rm
Stefan Sperling 72ea6654 2019-07-27T11:21:56 add support for multiple path arguments to 'got status'
Stefan Sperling 3f17dee4 2019-07-27T11:08:47 prevent array access with negative index in got_worktree_resolve_path()
Stefan Sperling c577a9ce 2019-07-25T21:06:41 fix 'got status' recursion problems
Stefan Sperling 90e8619e 2019-07-25T19:42:29 make 'got commit' work with a directory path
Stefan Sperling 3e3a69f1 2019-07-25T14:25:02 open fileindex just once to make rebase and histedit faster
Stefan Sperling e0233cea 2019-07-25T13:04:23 fix 'got commit' from work tree with a path prefix
Stefan Sperling 8f8646e5 2019-07-25T12:27:34 list of merged paths for rebase and histedit must not be empty
Stefan Sperling 0ebf8283 2019-07-23T17:39:43 initial 'got histedit' implementation
Stefan Sperling 62550b13 2019-07-23T14:35:00 fix path in got_repo_open() error message
Stefan Sperling d0710d08 2019-07-22T10:52:48 make got_worktree_resolve_path() handle non-existent paths
Stefan Sperling 49aa539a 2019-07-22T10:41:16 remove got_path_normalize(); pointless and unused
Stefan Sperling 6876e203 2019-07-22T10:38:36 remove another pointless call to got_path_normalize()
Stefan Sperling 6e472252 2019-07-22T10:35:46 remove pointless call to got_path_normalize()
Stefan Sperling 00eb6a1f 2019-07-15T15:20:45 get rid of an inline implementation of got_object_qid_free()
Stefan Sperling 2256993b 2019-07-15T12:50:29 avoid dependency on delta.o in binaries which don't need it
Stefan Sperling 3ce1b845 2019-07-14T18:59:53 initial 'got import' implementation
Stefan Sperling e2b1e152 2019-07-13T11:00:34 make 'got update' sync cached timestamps of unmodified files
Stefan Sperling fd7a136d 2019-07-13T10:31:11 remove duplicate check in if-statement
Stefan Sperling 01757395 2019-07-12T19:40:57 speed up commits during rebase by caching a list of merged paths
Stefan Sperling 1ee397ad 2019-07-12T19:06:56 allow error return from got_worktree_checkout_cb()
Stefan Sperling eb3df2c4 2019-07-12T16:42:30 prevent free(3) of uninitialized variable in rebase error path
Stefan Sperling b50cabdf 2019-07-12T16:36:21 skip out-of-dateness check during rebase for faster commits
Stefan Sperling 877a927c 2019-07-12T16:26:05 fix typo in comments
Stefan Sperling 93ec1b5f 2019-07-12T16:10:16 remove unused argument from update_fileindex_after_commit()
Stefan Sperling 69185643 2019-07-12T16:09:08 remove unused variable in commit_worktree()
Stefan Sperling a0e95631 2019-07-12T16:07:35 use the new commit_worktree() helper function during rebase
Stefan Sperling 1675efa3 2019-07-12T16:07:03 fix double-free introduced during refactoring
Stefan Sperling 39cd0ff6 2019-07-12T15:31:21 move core commit code from got_worktree_commit() to a helper function
Stefan Sperling 347d1d3e 2019-07-12T15:04:27 eliminate redundant fileindex open for status during commit and rebase -a
Stefan Sperling 55bd499d 2019-07-12T14:53:13 don't open file index earlier than needed when aborting rebase
Stefan Sperling ca355955 2019-07-12T14:51:33 oops, sync fileindex again after aborting rebase
Stefan Sperling 267fb255 2019-07-12T14:45:56 revert local changes before checking out files when aborting a rebase
Stefan Sperling a3a2faf2 2019-07-12T14:44:11 use checkout_files() helper in got_worktree_rebase_abort()
Stefan Sperling 711d9cd9 2019-07-12T14:39:07 eliminate a pointless goto in worktree.c
Stefan Sperling 07ed472d 2019-07-12T14:37:39 move core functionality of got_worktree_checkout_files() to a helper
Stefan Sperling 6ced4176 2019-07-12T14:20:33 move a chunk of file checkout code into a separate helper function
Stefan Sperling e642f803 2019-07-12T13:01:51 don't leak redundantly allocated relpath in got_worktree_checkout_files()
Stefan Sperling fb399478 2019-07-12T12:46:29 plug fileindex_path memory leaks
Stefan Sperling 5ade8233 2019-07-12T12:33:38 eliminate potential got_fileindex_free(NULL) calls
Stefan Sperling 3605a814 2019-07-12T12:31:34 eliminate inline implementations of open_fileindex() in worktree.c
Stefan Sperling 8ec7bf54 2019-07-12T12:09:39 refactor file index syncing out of update_fileindex_after_commit()
Stefan Sperling 10796104 2019-07-12T01:36:02 unsigned char casts for isspace()
Stefan Sperling 787c8eb6 2019-07-11T22:40:44 fix extra whitespace in rebased log messages Trim leading and trailing whitespace from log messages when creating commits. Fixes a rebase issue but should be a good idea in general.
Stefan Sperling 69844fba 2019-07-11T15:18:52 ensure all rebase-related refs get deleted when rebase is done
Stefan Sperling edd02c5e 2019-07-11T14:22:42 bump fileindex base commit IDs after rebasing a commit
Stefan Sperling ff0d2220 2019-07-11T13:59:20 handle no-op changes during 'got rebase -c'
Stefan Sperling 2840f715 2019-07-11T12:57:15 new realpath(3) doesn't like receiving an empty path as input
Stefan Sperling 818c7501 2019-07-10T18:23:39 initial 'got rebase' implementation
Stefan Sperling 2b496619 2019-07-10T22:41:08 fix bug exposed by test_commit_added_and_modified_in_same_dir
Stefan Sperling aaf88317 2019-07-10T18:08:23 introduce got_ref_alloc_symref() and got_ref_get_symref_target()
Stefan Sperling 1ab61ced 2019-07-10T16:33:43 use absolute path for reference in got/worktree namespace
Stefan Sperling 950a4a90 2019-07-10T15:22:52 use got_fileindex_free() to free a fileindex structure
Stefan Sperling 52d1d0d9 2019-07-07T18:07:51 fix bug where match_loose_object() skipped some objects
Stefan Sperling 561c3678 2019-07-02T11:48:15 fix detection of ambiguous object ID match with pack files