[Bug 1536434] Re: Git does not display filenames in status, even if it's one file on multiple subdirectory path
Anders Kaseorg
andersk at mit.edu
Thu Jan 21 02:15:55 UTC 2016
You can also just run git add DIRECTORY (e.g. git add .) which is
equivalent to adding all the (non-ignored) files in the directory.
** Changed in: git (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1536434
Title:
Git does not display filenames in status, even if it's one file on
multiple subdirectory path
Status in git package in Ubuntu:
Invalid
Bug description:
As you can see below, on list of untracked files there is './' but to
get particular file name I need to ls then git add. Desired behaviour
would be listing file name instead './'
nusch at XPS13:~/Dane/pentest/whitepapers/sql$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
./
nothing added to commit but untracked files present (use "git add" to track)
nusch at XPS13:~/Dane/pentest/whitepapers/sql$ ls
Outofband-SQL-injection-slides.pdf
nusch at XPS13:~/Dane/pentest/whitepapers/sql$ git add Outofband-SQL-injection-slides.pdf
nusch at XPS13:~/Dane/pentest/whitepapers/sql$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: Outofband-SQL-injection-slides.pdf
nusch at XPS13:~/Dane/pentest/whitepapers/sql$ cd ..
nusch at XPS13:~/Dane/pentest/whitepapers$ cd ..
nusch at XPS13:~/Dane/pentest$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: whitepapers/sql/Outofband-SQL-injection-slides.pdf
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: git 1:2.5.0-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
Uname: Linux 4.2.0-23-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jan 21 02:52:59 2016
InstallationDate: Installed on 2015-05-08 (257 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: git
UpgradeStatus: Upgraded to wily on 2015-11-15 (66 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1536434/+subscriptions
More information about the foundations-bugs
mailing list