Commits
- Commit:
cfd923335bc72b12508df8bafe2f19ea43ddd4ad
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add send and fetch plumbing to parser for got.conf
This is the beginning of support for naddy's suggestion to break this out
similar to git. More code to come from stsp.
ok stsp@
- Commit:
2f1457c6ccfe722888511926c09af843da3bee0d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow deletion of refs/remotes/ branches with got branch -d
Also, make requirements for branch name arguments more flexible.
Absolute reference names are now accepted.
ok naddy@
- Commit:
a099809f2873564368fcd20d3d7be32ce4a5bc12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
more manual page updates following the introduction of 'got send'
- Commit:
93a300b296848449897d95643acc8a689b0480b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
small man page spelling fixes
- Commit:
4408b20f8eddc1e1e4f3c865b8b59895590c0778
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update the TODO list
- Commit:
fd44090b628aa7213949d0e8bcc696bf651aaa91
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak the man page section about 'got send'
In particular, attempt to describe the -f option better.
- Commit:
1bd76734ce8e567c3f156533dc1af31878bd5a65
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the output of 'got send -d' upon success
Previous output was: Already up-to-date
New output is: Server has deleted refs/heads/branch
Check this behavour in the related regression test.
- Commit:
f9756a57e7f0fc01ee242aaca9a6d512c7af2310
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Use POSIX-compatible syntax in send.sh tests. Patch by naddy@
- Commit:
f8a36e221091eb68b439ebe4eb07a5d03b335c28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got send' command for sending changes to remote repositories
Known to work against git-daemon and github Git server implementations.
Tests by abieber, naddy, jrick, and myself.
Man page additions reviewed by Lucas.
- Commit:
3379373c62efb02a719d4b6e040189f348470f0a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ]
- Commit:
8991a328535f89f3f2257269f5c2d3fcec8bda69
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a missing bounds-check in got-fetch-pack when parsing server response
The tokenize_refline() function could end up reading past the end of
the buffer if the refline is not terminated with whitespace or \0.
- Commit:
a90356f7c470563a35922c4cbb01824558dcf207
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent NULL deref in got-fetch-pack if server does not announce capabilities
The my_capabilities pointer may remain NULL. Check for NULL before use.
- Commit:
14d2b281dd2fafec8beebfca6b5911b0ff21d676
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the error message shown when the server sends a bad ref line
Exposed by trying to run got clone -l against shithub.us over git://
found by abieber@
- Commit:
63e5aa5c34d2e70074f9c3a1f42b7b7188a785fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Expose got_ref_name_is_valid() for general purpose use.
This will be needed for a future 'got send' command.
- Commit:
dc7edd429e3aae9d685c43504872d528567f3007
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix miscalculation of the final pack file size reported by got_pack_create()
- Commit:
cce2f4851ec199cbdf54fd82f3cc5ab38d5d68f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose got_ref_resolve_symbolic() at the public library API
This will be needed by a future 'got send' command.
- Commit:
0af64e86449b8d836b04b25ece0bbc5543a75238
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in an error path of got_deltify()
- Commit:
dd29967c8be9311a99ae3310d49789c65989498e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_deltify() rellocate the deltas array less often
- Commit:
9ca26ac322eae778bdfe032617ce9f6af859bb7a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
style fix: avoid comparison of pointer variable against 0 in got-fetch-pack
- Commit:
72acb3d8f4f1aa47fe21329180083cef02695490
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused 'repo' argument from got_reflist_insert()
- Commit:
b9c41b542bba17bb3bcdd1ee0795845e086bcf4b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use less memory allocations when formatting log messages
Rewrite got_object_commit_get_logmsg() such that only one memory
allocation is made when creating a pretty version of a log message.
ok naddy@
- Commit:
aa8b5dd032c8cba930e5be67a90069a95e0001b8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a use-after-free in get_changed_paths() in got and tog
Once the parent commit is closed the tree_id1 pointer is no longer valid,
but the pointer was still being used. Make a deep copy to fix this issue.
- Commit:
267bb3b89907b99d17aece9890a57afe2982b782
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a small memory leak in tog's show_diff_view() function
- Commit:
ef8ec60674275af0116b26e9c02ab4f4bd7bcd72
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent a race where 'gotadmin cleanup' deletes concurrently created objects
- Commit:
3f338f0a096f8648ea0bb148ba5e4383d6434eaa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
track the last modification time of references