[lkml]   [2003]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: dontdiff for 2.6.0-test4
    Mike Fedyk wrote:
    >> @find . $(RCS_FIND_IGNORE) \
    >> \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
    >> -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
    >> -o -name '.*.rej' -o -size 0 \
    >> -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
    >> -type f -print | xargs rm -f
    >> $(call cmd,mrproper)
    > But dontdiff is a list of files that must be skipped, not a regex, right?
    > Then dontdiff will be useless until a build has been done on that kernel tree.

    Not really. From the diff manpage:

    -X FILE --exclude-from=FILE
    Exclude files that match any pattern in FILE.

    You may want to take a look at a copy of dontdiff (noting the shell
    patterns). It looks like dontdiff could be generated from mrproper's
    list of scratch files (with the exception of the '-size 0' test in the
    'find' command) but I could be wrong.

    FWIW, the $(RCS_FIND_IGNORE) part skips some version-control directories
    that dontdiff doesn't mention. I guess the party line is that you should
    use the version control system for doing diffs in that case, but whatever.

    If you try to replace dontdiff with a dynamically generated list, be
    sure and have a few folks test it out on different trees (including ones
    managed by BK and SVN) to make sure you haven't broken anything.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:48    [W:0.022 / U:1.728 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site