Commits


CHANGES for 0.41


restore code removed in b5f0780096f443734de8fc503ca92bf737e2a7b2 and complete code so sub directories work in gotweb This was pointed out by uwerler in IRC. ok stsp


handle failed connection attempts to git:// servers; patch by jrick


do not pledge 'got integrate' in a PROFILE=1 build found by jrick on freenode


allow an interrupted 'got clone' to be resumed by 'got fetch' Set up config files as soon as possible such that 'got fetch' has enough information in order to resume an interrupted clone operation. We need to receive at least a default HEAD branch name from the server before we can set up our configuration files. The previous code also verified whether the default branch name supplied by the server resolved to a commit received in the pack file. This check cannot be done early but a wrong branch name in a config file can be fixed easily.


strip trailing slashes from repository path in got_fetch_parse_uri()


refactor code which creates config files for 'got clone' using helper functions


fix default branch name written to Git config file by 'got clone' The generated Git config file instructed Git to fetch all branches rather than the default branch as was intended. Check generated configuration files in all clone tests in order to catch such problems in the future.


remove redundant leading slashes from repository path parsed from got.conf


remove redundant leading slashes from repository path when parsing URIs


let 'got clone' try to connect to server before creating repository contents


check final repository state in test_histedit_fold_add_delete


fix matching the object ID of the first object in a pack index An object ID which appears first in a pack index was wrongly ignored by got_packidx_match_id_str_prefix(). The result was a spurious "object not found" error when this object ID was passed on the command line. Reported by jrick on freenode who was lucky enough to this edge case!


make 'got histedit' collapse folded add+delete operations into a no-op If a merged commit wants to delete a locally added file, and this locally added file matches the content which was deleted in the commit being merged, we can go ahead with the deletion because there is no risk of data loss. fixes the histedit problem reported by jrick on freenode


add an xfail test for a histedit issue where a deleted file remains If a previous commit introduces a new file, and it is folded into a commit that deletes the same file, the file still exists after the histedit. reported by jrick on freenode


skip remote HEAD refs in gotweb's gw_get_commit(); matches got and tog


repair gotweb build; broken since 48cae60d


trim leading slashes from repository path written to got.conf (found by naddy)


there is no need to grab locks when opening refs in got_ref_delete()


make dangling symbolic references show up in 'got ref -l' Storing a resolved ID for each reference list item was a bad idea. This ID cannot be resolved if a symbolic references points to a reference which does not exist. Such symrefs were skipped by got ref -l as a result. Just let users of reference lists resolve the IDs as needed.


make 'got ref -d' delete both loose and packed representations of the reference


bump version number


changes for 0.40


sync dist file list


install got-read-gotconfig into gotweb's chroot environment