Re: [BUG] 'add -u' doesn't work from untracked subdir
Quoting Junio C Hamano <gitster@pobox.com>
Show 11 quoted lines
> We could probably declare "In 1.X.0 everything will be relative to the
> root and you have to give an explicit '.' if you mean the cwd".
>
> Three questions:
>
> #1 What are the commands that will be affected, other than "add -u" and
> "grep"? Are there others?
>
> #2 Do all the commands in the answer to #1 currently behave exactly the
> same when run without any path parameter and when run with a single
> '.'?
'git-archive' behaves relative to your current directory.
http://thread.gmane.org/gmane.comp.version-control.git/41300/focus=44125
You can limit it to the current directory with a dot.
--
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/