Public bug reported: Steps to recreate problem with eg (easygit) status command ----------------------------------------------------------------------------------- 1. Create a temporary testing directory e.g. $ mkdir -p ~/temp/eg_bug $ cd ~/temp/eg_bug 2. Create two text files in the directory. e.g. $ echo "this is the first file" > file1 $ echo "this is the second file" > file2 3. Create a git repository in the directory $ eg init 4. Check status $ eg status OUTPUT: Correctly shows two newly created unknown files (as does $ git status) 5. Get git to track the files $ eg stage . 6. Check status $ eg status OUTPUT: Correctly shows the two files with changes ready to be committed ("staged") (as does `git status`) 5. Do first commit $ eg commit -m "Initial commit" 4. Check status $ eg status OUTPUT: Correctly shows no modified files (as does `git status`) 6. Now modify the two existing files $ echo "Add second line" >> file1 $ echo "Add second line" >> file2 7. Check status $ eg status *UNEXPECTED OUTPUT*: (Pasted from terminal) (On branch master) (Changes not staged for commit:) ( (use "git add <file>..." to update what will be committed)) ( (use "git checkout -- <file>..." to discard changes in working directory))
There is a hint that there are changes not staged for commit but it does not list any files! Note that `git status` lists both modified files under "Changes not staged for commit:". This is EXPECTED BEHAVIOUR 8. Stage one of the modified files $ eg stage file1 9. Check status $ eg status *UNEXPECTED OUTPUT*: (Pasted from terminal) (On branch master) Changes ready to be committed ("staged"): modified: file1 Now it shows the modified file (file1) that is staged but there is no longer even a hint that there is a file with changes that has not been staged (file2). Note that `git status` shows both modfied files as expected: # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: file1 # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: file2 # ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: easygit 0.99-1 ProcVersionSignature: Ubuntu 3.2.0-33.52-generic-pae 3.2.31 Uname: Linux 3.2.0-33-generic-pae i686 ApportVersion: 2.0.1-0ubuntu15 Architecture: i386 Date: Fri Nov 16 12:21:53 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328) MarkForUpload: True PackageArchitecture: all SourcePackage: easygit UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: easygit (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1079628 Title: `eg status` does not show tracked files with unstaged modifications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/easygit/+bug/1079628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs