diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-27 15:38:40 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-27 15:38:40 -0400 |
commit | cc8a6c9d89941f6b2c6ae2b46d4502d7214d9079 (patch) | |
tree | d80b3df2b5722af9759af34c499965094e0e4e3b /doc | |
parent | 45dc322b60702886539ea80f0c7d52dcef0bff1d (diff) |
format
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_3_a0fdcd19954a38141b1dc2a51638ba30._comment | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_3_a0fdcd19954a38141b1dc2a51638ba30._comment b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_3_a0fdcd19954a38141b1dc2a51638ba30._comment index 109115c9a..6af065cb5 100644 --- a/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_3_a0fdcd19954a38141b1dc2a51638ba30._comment +++ b/doc/forum/Adding_files_with_wildcard_on_Mac_Yosemite/comment_3_a0fdcd19954a38141b1dc2a51638ba30._comment @@ -8,11 +8,11 @@ The shell does not expand *.jpg to match files inside subdirectories. I suggest you read up on how shell wildcards work, and how to use them properly. -There is a bit of a bug here, which is that the shell, when *.jpg does not -expand to anything, passes the "*.jpg" parameter to git-annex un-expanded, +There is a bit of a bug here, which is that the shell, when `*.jpg` does not +expand to anything, passes the `"*.jpg"` parameter to git-annex un-expanded, which then passes it off to git ls-files, which then unexpectedly expands it to recursively match jpegs in subirectories. Only then does git-annex -try to add a "*.jpg" file, and when it doesn't exist, it exits with an +try to add a `*.jpg` file, and when it doesn't exist, it exits with an error, leaving the files it did add unstaged in git. To get out of that situation, just re-run git-annex add and actually list |