Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC/PATCH 1/3] git-find-git: a new helper.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:13

Marco Costalba [off-list ref] writes:
Junio C Hamano wrote:
quoted
 git-find-git uses it to find the
top-level, and if it was run from a subdirectory, outputs shell
script fragments that can be evaled to define the two variables:
    GIT_DIR_PREFIX is a string to be prepended to cwd relative
    paths to make them repository relative.
    GIT_DIR_UPLEVEL is a string (e.g. "../") for the command to
    use to cd to the top-level of repository.
Sounds very good.

I did't had the time to test it but I think I can now
easily update qgit to run from a subdirectory with this new helper.
The helper might be good, but it turns out that the idea of
using it from git-sh-setup was not that great, so please
disregard the third part of the patch.  I think I need a bit
more thinking about this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help