mirror of https://git.zx2c4.com/cgit/
Add trim_end() and use it to remove trailing slashes from repo paths
The new function removes all trailing instances of an arbitrary character from a copy of the supplied char array. This is then used to remove any trailing slashes from cgit_query_path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>lh/pretty-blob-view
parent
42e459bb1f
commit
382805ee83
Loading…
Reference in New Issue