[PATCH 2/2] diff-no-index.c: read_directory_path() use is_dot_or_dotdot()

2014-03-21 Thread Andrei Dinu
Use is_dot_or_dotdot() instead of manually checking against "." or "..". Signed-off-by: Andrei Dinu --- You can check the last version here: http://thread.gmane.org/gmane.comp.version-control.git/244578 I received the feedback and make the changes. I plan on a

[PATCH 1/2] diff-no-index.c: rename read_directory()

2014-03-21 Thread Andrei Dinu
: Andrei Dinu --- I plan on applying to GSoc 2014 I received your feedback and I resend the patches from the bug that I solved in the past diff-no-index.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diff-no-index.c b/diff-no-index.c index 8e10bff..5e4a76c

[GSoc PATCH 1/3] diff-no-index.c: rename read_directory()

2014-03-20 Thread Andrei Dinu
Avoid the conflict between read_directory() from diff-no-index.c and read_directory() from "dir.h" Signed-off-by: Andrei Dinu --- I plan on applying to GSOC 2014 Submit again on the list for an older bug that I solved, to show you that I received your feedback and I review

[GSoc 2014 Project Ideas].

2014-03-19 Thread Andrei Dinu
Signed-off-by: Andrei Dinu --- Hello, I'm interested in "Improve triangular workflow support" project idea. Can you give me, please, further information about this project? Thank you very much! -- To unsubscribe from this list: send the line "unsubscribe git" in

[PATCH v5] fsck.c: fsck_tree() now use is_dot_or_dotdot().

2014-03-19 Thread Andrei Dinu
Rewrite fsck_tree() to use is_dot_or_dotdot() from "dir.h". Signed-off-by: Andrei Dinu --- I try to find other sites that can use id_dot_or_dotdot() function. fsck.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fsck.c b/fsck.c index 64bf27

[PATCH v4 2/2] diff-no-index.c: read_directory_path() use is_dot_or_dotdot().

2014-03-19 Thread Andrei Dinu
Implement code so read_directory_path() use is_dot_or_dotdot() from "dir.h" instead of strcmp(). Signed-off-by: Andrei Dinu --- I plan on applying to GSoc 2014. diff-no-index.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diff-no-index.c b/diff-no-ind

[PATCH v4 1/2] diff-no-index.c: rename read_directory()

2014-03-19 Thread Andrei Dinu
Signed-off-by: Andrei Dinu --- I plan on applying to GSoc 2014 diff-no-index.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diff-no-index.c b/diff-no-index.c index 8e10bff..5e4a76c 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -16,7 +16,7 @@ #include

[PATCH 1/3] diff-no-index.c read_directory() use is_dot_or_dotdot().

2014-03-19 Thread Andrei Dinu
Implement read_directory() to use is_dot_or_dotdot() function from dir.h instead of strcmp(). Rename read_directory() in read_directory_path() to avoid conflicting with read_directory() from dir.h. Signed-off-by: Andrei Dinu --- I plan on applying to GSoc 2014. diff-no-index.c |9

[PATCH v2] diff-no-index.c : rewrite read_directory() to use is_dot_or_dotdot().

2014-03-19 Thread Andrei Dinu
replace manual "."/".." check with is_dot_or_dotdot(). choose to implement my own function because did't find the defined one. [1]: http://article.gmane.org/gmane.comp.version-control.git/244420 Signed-off-by: Andrei Dinu --- I plan on applying to GSoc 2014

[PATCH] diff-no-index.c: rewrote read_directory() to use is_dot_or_dotdot() function.

2014-03-19 Thread Andrei Dinu
match that is at the beginning of chars. Signed-off-by: Andrei Dinu I plan on applying to GSoc 2014 --- diff-no-index.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/diff-no-index.c b/diff-no-index.c index 8e10bff..83cdbf7 100644 --- a/diff-no-index.c +++ b/diff