Commits
- Commit:
cf847b167995f9c334ac203d4817d0203a222756
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
abort commit with merged log messages if the log message is left unmodified
ok op@
- Commit:
c7ee7a0aebd0cf0ba96bd4215bd263d8f1dd8e6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid creation of temporary file if no merged log messages will be used
- Commit:
8b3ae425fe39895d4f5d1be49b178703173e964d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename a variable for clarity
- Commit:
378a2540886d76e663ffc65125a68c08f8a38604
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
uppercase cherrypick/backout -X progress output
ok jamsek
- Commit:
3d800fb8c5236335129e5a017113967bda6cd62c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
improve heuristics for prepopulated log messages
Small tweak to cover the case where users specify paths to be committed such
that none of the paths modified by a backout or cherrypick operation are in
the commit. In this case, the logmsg ref will remain in refs/got/worktree to
be used when the user does run a commit involving the affected paths.
ok stsp@
- Commit:
971d0123bfde09ec62689dbf7e2d9a68e143f4b6
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix invalid assumption in commit_path_changed_in_worktree()
Make sure we have a parent id first to avoid dereferencing a NULL pointer
with the got_object_open_as_commit() call.
ok op@ and stsp@
- Commit:
9587e6cc5169e6d39431fd1066097fd3f04e5d51
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: load editor with backout/cherrypick commit log messages
Create new logmsg references used to populate the editor with the log messages
of backed-out and cherrypicked commits when 'got commit' is run. We use
versioned path state heuristics during revert and commit commands in an effort
to ensure the editor is only populated with the log messages of backed-out
and/or cherrypicked commits involving paths with local changes that are being
committed. This is an implementation of an initial idea and algorithm designed
by stsp.
inputs, improvments and ok stsp@
- Commit:
a003d5184726e721ca5313a722fc1a22d602e8b8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cmd_tag: avoid unnecessary strdup of signer_id
ok jrick
- Commit:
02a86be7273724a6513836014ad90f2316ece5df
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
got merge: call the right usage_*() function
Diff from Mikhail, thanks!
- Commit:
f357f78c8f257cd1c3f99730dfc9d2f9aa71f726
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: don't leak pathlist in commit and revert commands
ok stsp@
- Commit:
1f3405c91dec0b4eb48df5156751b5ef6add3f37
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
refactor got log -d and tog diffstat to compute diff once
This eliminates the previous performance cost by making 'got log -d' and tog
diff view compute the diffstat while building the diff in a temp file like we
do with 'got diff -d'. Also, keep the current 'got log -d' UI as per stsp's
suggestion.
ok stsp@
- Commit:
65dedee0a2cddb92e5184e594424e1d42420e8b0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
don't use plural noun after 1 in diffstat total
Use singular form when appropriate; for example, turn the top into the bottom:
1 file changed, 1 insertions(+), 1 deletions(-)
1 file changed, 1 insertion(+), 1 deletion(-)
ok op@
- Commit:
a7331d50e5949de9db777b05789d7180d1082fd4
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: set error on asprintf() failure
ok op@
- Commit:
38ef2333dd2b85b1e6aed14ef36bca80cb8eb551
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
catch a few missed got_pathlist_append() error checks
ok stsp@
- Commit:
fd20239feff11b69919be913807aa1f371b06fb9
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: zap dead variable in add_branch()
ok stsp@ op@
- Commit:
d8bacb933720b8819f0c4e76b004775aa1885b9b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: minor refactor of got_pathlist_free() API
Accept flag parameter to optionally specify which pointers to free. This saves
callers looping through the list to free pointers.
ok + fix stsp@
- Commit:
a76e88e58fb716d5dded83442b153b60687283cb
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: expand diffstat -d option to 'got diff'
Like got log -d, add the switch to 'got diff' to display a diffstat of changes;
as per stsp's suggestion, we always include diff output with the diffstat.
Disabled in gotwebd (for now :) Includes tweaks from op@
ok stsp@
- Commit:
49a1ae4b7fbd435b06a58d71186f4675d399e2c7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got rebase' not detecting an out-of-date work tree in some cases
ok jamsek, op
- Commit:
1a99e0b4097b26cac736de07239a3be7589a48f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show from: and via: headers on consecutive lines in 'got log' and 'tog log'
ok jamsek
- Commit:
d651dcfa6fe871c93d967b1b741d2ad4bbb9e2c2
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
add -d switch to log usage and sort lexicographically
patch by Josiah Frentsos
- Commit:
5191b70b5b2e123aadd88aeafe2e2cfc0958c327
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: implement diffstat for got log and tog diff view
Add new got_diff_blob_cb() implementation to compute added/removed line metrics
for a given diff. This enables displaying a diffstat with 'got log -d'. As per
suggestion from stsp, change tog diff view to display the diffstat by default.
ok stsp@
- Commit:
0deb960709e3e94b2b79beb88bafc443d6d117f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
show full URL during got clone/fetch/send
discussed with and ok jamsek, stsp
- Commit:
6242c45bf7571868b35d644cd0655d3b007d60c9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got send: show server error
Print the error message reported by the remote server when failing to
update a branch (for e.g. because of a server-side check.) Reported by
gonzalo@, with help and ok stsp@.
- Commit:
c9f1ac46710e3ac672c769862ae51b838c3c8e46
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got clone -b' work for repositories which lack a HEAD reference
ok op@
- Commit:
b90054ed55f30ebe28115abf5ad9cecc2b925713
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use mkstemps(3) instead of mkstemp(3) for opening named temporary files
Allows 'got commit' to use a ".diff" suffix for temporary diff files.
ok op@