Yurii Shevtsov <[email protected]> writes: > git diff --no-index refuses to compare if args are directory and file, > instead of usual diff. > > Now git diff --no-index modifies args, if they're directory and file, > and diffs files, as usual diff does. > > Changes are done in diff_no_index(). > > Helped-by: Junio C Hamano <[email protected]> > Signed-off-by: Yurii Shevtsov <[email protected]> > --- > diff-no-index.c | 31 +++++++++++++++++++++++++++++-- > 1 files changed, 29 insertions(+), 2 deletions(-)
This round looks sensible. Good catch to notice that POSIX wants you to append not just the "path to the file", but the basename of the file, to the directory name. I didn't try your patch, but I wouldn't be surprised if it passed the tests in the patches I wrote last night in the $gmane/266315 thread ;-). Good luck with your GSoC application. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

