Bug report: branch display in git stash output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)

❯ git checkout -b branch/with/slash
Switched to a new branch 'branch/with/slash'
❯ echo "foobar" > foobar.txt
❯ git stash
Saved working directory and index state WIP on slash: 41dc5da git:
update .gitconfig

What did you expect to happen? (Expected behavior)

❯ git stash list
stash@{0}: WIP on branch/with/slash: 41dc5da git: update .gitconfig

What happened instead? (Actual behavior)

❯ git stash list
stash@{0}: WIP on slash: 41dc5da git: update .gitconfig

What's different between what you expected and what actually happened?

the displayed branch name in `git stash` output is truncated


[System Info]
git version:
git version 2.33.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28
20:41:07 UTC 2021 x86_64
compiler info: gnuc: 9.3
libc info: glibc: 2.31
$SHELL (typically, interactive shell): /usr/bin/zsh


[Enabled Hooks]

-- 
Fabrice




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux