[Bug 1500052] Re: Path with invalid character can't be added

Anders Kaseorg andersk at mit.edu
Sat Sep 26 20:56:21 UTC 2015


You need to run git add on the filename that’s actually present.

git add HA_Aufgabenstellung_Parteipräf_Postmaterialismus_SS15.pdf

Your shell’s tab completion can help you with this. You can also use
shell wildcards. Or, if you really want to copy and paste the output
from ‘git status’, you can use this trick if your shell is bash:

git add
$'HA_Aufgabenstellung_Parteipr\303\244f_Postmaterialismus_SS15.pdf'


** 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/1500052

Title:
  Path with invalid character can't be added

Status in git package in Ubuntu:
  Invalid

Bug description:
  The file with name
  `"HA_Aufgabenstellung_Parteipra\314\210f_Postmaterialismus_SS15.pdf"`
  (according to `git status`) can't be passed as argument to `git add`
  (fails with `fatal: pathspec
  '"HA_Aufgabenstellung_Parteipra\314\210f_Postmaterialismus_SS15.pdf"'
  did not match any files`). It should be possible to add with the path
  displayed in `git status` because it is whit `git add .`.

  The file was originally named
  `HA_Aufgabenstellung_Parteipräf_Postmaterialismus_SS15.pdf` and has
  been added to `git` on Mac OS X 10.10.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: git 1:2.1.4-2.1
  ProcVersionSignature: Ubuntu 3.19.0-30.33-generic 3.19.8-ckt6
  Uname: Linux 3.19.0-30-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Sep 26 17:36:37 2015
  InstallationDate: Installed on 2015-09-14 (11 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: git
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1500052/+subscriptions



More information about the foundations-bugs mailing list