Issue 51 in gitsharp: Return a list of skipped files in Index.Add and AddAll

1 view
Skip to first unread message

gits...@googlecode.com

unread,
Jan 23, 2010, 1:39:32 PM1/23/10
to gits...@googlegroups.com
Status: Accepted
Owner: meinrad.recheis
Labels: Type-Defect Priority-Medium

New issue 51 by meinrad.recheis: Return a list of skipped files in
Index.Add and AddAll
http://code.google.com/p/gitsharp/issues/detail?id=51

As add is skipping files according to ignore rules. it would be good to get
feedback from the function about skipped files such as

IEnumerable<string> Add(params string[] paths)
{
...
return skipped_paths;
}

Also possible would be a AddResult parameter that lists the added and the
skipped files.

Any comments?
-- henon

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

gits...@googlecode.com

unread,
Jan 23, 2010, 1:43:35 PM1/23/10
to gits...@googlegroups.com
Updates:
Labels: -Type-Defect Type-Enhancement

Comment #1 on issue 51 by meinrad.recheis: Return a list of skipped files

(No comment was entered for this change.)

gits...@googlecode.com

unread,
Jan 23, 2010, 1:47:43 PM1/23/10
to gits...@googlegroups.com

Comment #2 on issue 51 by meinrad.recheis: Return a list of skipped files

sorry, I mean an AddResult return value ...

gits...@googlecode.com

unread,
Jan 23, 2010, 2:28:15 PM1/23/10
to gits...@googlegroups.com

Comment #3 on issue 51 by emeric.fermas: Return a list of skipped files in

I like this. Would ease testability.
Maybe would also help pushing the redesign of IgnoreHandler/IgnoreRules
toward the top
of the things-to-do (issue#46).

gits...@googlecode.com

unread,
Jun 30, 2010, 2:28:30 AM6/30/10
to gits...@googlegroups.com

Comment #4 on issue 51 by narendra.tumkur: Return a list of skipped files

Has this been worked on already?
I would like some functionality like this and am happy to make the changes.

gits...@googlecode.com

unread,
Jun 30, 2010, 4:38:43 AM6/30/10
to gits...@googlegroups.com

Comment #5 on issue 51 by meinrad.recheis: Return a list of skipped files

ok
-- henon

Reply all
Reply to author
Forward
0 new messages