SOME_VAR'? Notice
and ', whose basically, apparently block any way of quoting the text, e.g.: !sh -c 'ls "%(text)"' will not work, nor will !sh -c "ls '%(text)'". So, is there a way to properly pass such %(text) to a sh command?
External commands:
I @sh -c "echo -n %(commit) | xclip -selection c"
/
search only takes the commits message into consideration, and when the diffview is open only the content of the diff of that specific commit is searched. Instead I would like to find the most recent commit that touched a variable called rare_banana
. Can this be done in tig?
git log -G bananaramamama | tig
and press q
, the tig window will close, but the process will stay alive and hence not give you back the prompt. You can kill it with ctrl-c
git log | tig
as an alternative way of starting tig? so That git log -S banana | tig
could work, for example?
parent
(P by default AFAIR) – i.e.: that jumps to commit's descendant (i.e. up not down). I can get the required revision from git rev-list %(commit).. | head -n1
, however this requires an external coommand like +sh -c "git rev-list …"
while the command that jumps in the interface is an internal TIG action – the :goto {commit sha}
. Is there any way to pass some variable as :goto
's argument? Can you actually run any two actions from a binding, be it internal and/or external, alone, forgetting passing the argument/variable?
"git diff origin/master...HEAD"
? To review files or commits before merge into mastertig origin/master...HEAD --no-merges
but maybe available some way to show diff from master with files at left and changes per selected file (or full file content) at right?