[darcs-users] Rolling back --look-for-adds implies --summary in whatsnew.

Mark Stosberg mark at stosberg.com
Sun Feb 17 03:48:30 UTC 2008


> Here  is  a  proposition  about removing the fact that --look-for-adds implies
> the --summary flag in darcs whatsnew.

I like the current behavior.

> Indeed  if  think  that  the defaulting system (~/.darcs/defaults) is powerful
> enough to make this kind of exception superfluous.
>
> I would like to hear if people disagree.

For new files, the "diff" is always the whole file, and reviewing the
content of every whole file added seems redundant.

Because I believe using --look-for-adds with --summary is the common
case, I think it makes sense to optimize for it. As you said, other
people can use the defaults system, and preserve backwards-compatibility
with the current system.

Plus, look at this result when using --look-for-adds and --no-summary:

addfile ./b
addfile ./c

You can't tell which file is already added, and which one was found with
"look-for-adds"!  This makes it less useful in my opinion.

     Mark

-- 
http://mark.stosberg.com/




More information about the darcs-users mailing list