Commits
- Commit:
fd785a9ac70d88714b1d0533768076bcf5c9c2d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update the base commit ID of unmodified files if the blob ID matches
This avoids having to run 'got update' after operations which run
checkout_files() and where a file happens to have the same blob ID
but its base commit differs from the commit we are updating to.
Found while investigating a bug report by naddy@
ok op, jamsek (earlier version)
- Commit:
af21bb7e28a5a337eb50bfd364a1e1640c6f97b1
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: implement automated test harness
Add framework for scripting tog tests by capturing screen dumps to compare
with expected output. Includes some preliminary log view tests but lots more
tests are needed to cover diff, blame, tree, ref, and help views.
ok stsp@
- Commit:
859316d03c1ee64b2c2fd2787e727daadf60bcf3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd/gitwrapper start up even if a repository is missing on disk
This should result in more useful behaviour when gitwrapper runs and
repositories listed in gotd.conf do not yet exist or do no longer exist.
- Commit:
cc88020e952af813c1e01b91ab6516969562e972
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious empty packfile error from gotd when rewinding a branch
ok op@
- Commit:
7755e2f80723b22eb4fcc203ffd75608db7055c7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
consistently close the struct repository on every cmd_*()
Spotted while looking for leaks using Otto' malloc() new leaks
detection. Harmless in practice since we just forgot to call
got_repo_close() when terminating in some cmd_*() functions, but
still a leak.
ok stsp@
- Commit:
565f18a82d800171c586b1877798c6e794b56505
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free fileindex entry upon add_entry() failure
Very unlikely (an occurrence of it would mean that got produced an
invalid fileindex) and harmless anyway since we would just terminate,
but a leak is still a leak.
ok stsp@
- Commit:
6be067cef84c15f7e8623ec8fccaf955d98d006b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
grammar fix for parse.y error message
- Commit:
f850236e70ed5627a614d01de2af54581cbce23f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reject overlapping protected branch vs. tag namespaces
ok op@
- Commit:
584140c2ad19f354c4504d0b3381c873658bdbf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd.conf: free STRINGS in all code paths
ok stsp@
- Commit:
929234006979da71dc10709a538d7e94eafbe88a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update TODO list
- Commit:
f0426190497546f380f3bbd5d7cf464e5423a1c6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd.conf: fix memleak in `protect' error path and disallow dups too
ok stsp@
- Commit:
9afa3de221045d529287cc3fa75fdc2915aed5c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for protecting references against 'got send -f' to gotd
ok op@
- Commit:
20a2922ac9672923f2aa124d670cde69d69b0cc3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unfold line
- Commit:
97267ffd9f5f20bf2047f4e4e76f1d155dffaa59
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: fix processing of "{" at end of line
add a regress for this case.
- Commit:
2734319d6bf828cb8fdc44a9030605f7bb4c32d1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix crash in got log due to NULL-deref in got_object_blob_close
Reported by Mikhail (thanks!), ok jamsek