Victor Leschuk writes:
> Maybe it'll make sense to modify file_exists() to treat ":/"
> specially.
The real problem is that the code assumes that it can internally use
":/" to mean "everything from the top", and with global 'literal
pathspec' magic, that is not the case. "did not match" is a re
On Sat, Oct 24, 2015 at 3:13 AM, Victor Leschuk wrote:
> The problem is that in the absence of explicit argument we set the list of
> files to special path ":/" which means repo root:
> And after that we treat it as regular file
Aha.
> Maybe it'll make sense to modify file_exists() to treat ":/
Hello Noam,
The problem is that in the absence of explicit argument we set the list
of files to special path ":/" which means repo root:
if ((0 < addremove_explicit || take_worktree_changes) && !argc) {
static const char *whole[2] = { ":/", NULL };
argc = 1;
argv =
3 matches
Mail list logo