You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that tig does not update the %(lineno) state variable for untracked files.
How to reproduce it
$ git clone https://github.com/jonas/tig.git /tmp/tig
$ cd /tmp/tig
$ echo 'test' > untracked.txt
$ tig status
# Select and enter the `untracked.txt` file in the `status-view`
# In the `stage-view` for the `untracked.txt` file, execute the `:echo %(lineno)` command
With this procedure, the last echo command echos 0 while it should be 1.
The text was updated successfully, but these errors were encountered:
It seems that
tig
does not update the%(lineno)
state variable for untracked files.How to reproduce it
With this procedure, the last
echo
command echos0
while it should be1
.The text was updated successfully, but these errors were encountered: