summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2026-05-31 19:02:23 -0400
committerJohannes Sixt <j6t@kdbg.org>2026-06-02 19:13:13 +0200
commit7c7c7ba4cea2f0063efa2a2a0d7c3d05ed8766fb (patch)
treec51af7b1ec4d8fcb35fbdfd3294726f196ae695b /t/t4013/diff.diff_initial..side
parent4f5114bfacfe0317d383885ffce13731116d6db5 (diff)
git-gui: allow specifying path '.' to the browser
Invoking "git-gui browser rev ." should show the file browser for the commitish rev, starting at the current directory. When the current directory is the working tree root, this errors out in normalize_relpath because the '.' is removed, yielding an empty list as argument to [file join ...]. git ls-tree (underlying the browser) accepts '.', so use that as the value when in the root. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions