4 years ago 17d4bf8dd5 Stefan Sperling
refname in gw_get_repo_age() doesn't need to be duplicated; simplify
4 years ago 742ba378f3 Stefan Sperling
there is no need to strdup() gw_trans->headref
4 years ago 122f3af5f6 Stefan Sperling
add missing error checks in gw_get_header()
4 years ago a4c23852c6 Stefan Sperling
gotweb: decorate only the branch's tip commit ID with "(branch)"; add XXX
4 years ago b0a1bc86f3 Stefan Sperling
gw_free_headers() frees just one gw_header so rename it to gw_free_header()
4 years ago 9278617450 Stefan Sperling
make gotweb's summary page display which branch the commit briefs belong to
4 years ago 7ecc73af19 Tracey Emery
ensure we close the final checked dir in gw_load_got_path and use better error message
4 years ago cc18a90416 Tracey Emery
catch invalid actions and git paths earlier in querystring parsing
4 years ago 6f6f771f7c Tracey Emery
set gw_err in correct code path
4 years ago 88759617e9 Tracey Emery
remove free(refs_str) that was reintroduced with rebase
4 years ago f1200fe3a0 Tracey Emery
fixup initial action querystring error and use the err.tmpl finally
4 years ago d81f9039e7 Stefan Sperling
jump to error handling consistently in gw_load_got_path()
4 years ago a81394a7f7 Stefan Sperling
eliminate unnecessary strdup() via an intermediate variable in gw_get_commit()
4 years ago 53e81e487b Tracey Emery
remove unneeded asprintf and clean up a couple of lines
4 years ago 5c65becf85 Tracey Emery
remove all usage of strdup("") and simply check for NULL instead
4 years ago 39fdad0d6c Tracey Emery
avoid strdup on author and committer
4 years ago d1635ae412 Tracey Emery
backout changes in a942aa37d2d222c183405af276d7bd07f9657398 and expand strdup error checking
4 years ago 640244865a Stefan Sperling
remove unnecessary etc directory from dist file list; noticed by tracey
4 years ago 4d6abe2b98 Stefan Sperling
no need to deep-copy repo_file param from querystring; add some XXX comments
4 years ago dda76f1836 Stefan Sperling
add another XXX comment; I'm not quite sure what to do about this just yet
4 years ago f652ec0c9c Stefan Sperling
no need to deep-copy the repository name from the request; just point to it
4 years ago 26dc30046b Stefan Sperling
put braces around multi-line if (...)
4 years ago 5d1296dec4 Stefan Sperling
no need to copy gotweb's action name; just look it up in static memory
4 years ago b0ca597497 Stefan Sperling
reduce indentation level of code in gw_parse_querystring; no functional change
4 years ago 0dba9374db Stefan Sperling
sync distfile list