Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty unstaged changes shown on rename #472

Closed
proski opened this issue Jan 17, 2016 · 0 comments
Closed

Empty unstaged changes shown on rename #472

proski opened this issue Jan 17, 2016 · 0 comments

Comments

@proski
Copy link
Contributor

proski commented Jan 17, 2016

Run this file in an empty directory to reproduce the bug:

#! /bin/sh

rm -rf .git
rm -f file*
git init
echo data >file1
git add file1
git commit -m "commit1"
echo data >file2
git add file2
git rm file1

Run tig after that script. It will show "Unstaged changes" in the change list, but pressing Enter on that entry won't have any effect. It is important for reproducing the bug that file1 and file2 have the same contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant