10 May, 2014

1 commit


24 Jul, 2013

1 commit


15 May, 2013

1 commit


19 Apr, 2013

1 commit

  • The git config parameter log.decorate is quite useful when working with git.
    Patman, however can not handle the decorated output when parsing the commit.
    To prevent this use the '--no-decorate' switch for git-log.

    Signed-off-by: Andreas Bießmann
    Acked-by: Simon Glass

    Andreas Bießmann
     

09 Apr, 2013

1 commit

  • Often it happens that patches include tags which don't have aliases. It
    is annoying that patman fails in this case, and provides no option to
    continue other than adding empty tags to the .patman file.

    Correct this by adding a '-t' option to ignore tags that don't exist.
    Print a warning instead.

    Since running the tests is not a common operation, move this to --test
    instead, to reserve -t for this new option.

    Signed-off-by: Simon Glass
    Reviewed-by: Doug Anderson

    Simon Glass
     

05 Apr, 2013

4 commits


01 Feb, 2013

2 commits

  • This patch adds support for a [settings] section in the .patman file.
    In this section you can add settings that will affect the default
    values for command-line options.

    Support is added in a generic way such that any setting can be updated
    by just referring to the "dest" of the option that is passed to the
    option parser. At the moment options that would make sense to put in
    settings are "ignore_errors", "process_tags", and "verbose". You
    could override them like:

    [settings]
    ignore_errors: True
    process_tags: False
    verbose: True

    The settings functionality is also used in a future change which adds
    support for per-project settings.

    Signed-off-by: Doug Anderson

    Doug Anderson
     
  • Several of the patman doctests assume that patman was run with:
    ./patman

    Fix them so that they work even if patman is run with just "patman"
    (because patman is in the path).

    Signed-off-by: Doug Anderson
    Acked-by: Simon Glass

    Doug Anderson
     

20 Oct, 2012

1 commit


20 Jun, 2012

1 commit

  • patman shouts when it couldn't find a $(HOME)/.patman file.
    Handle it in a sane way by creating a new one for the user.
    It looks for a user.name and user.email in the global .gitconfig
    file, waits for the user input if it can't find there. Update the
    same in the README

    Signed-off-by: Vikram Narayanan
    Acked-by: Simon Glass
    Cc: Simon Glass
    Cc: Wolfgang Denk

    Vikram Narayanan
     

21 Apr, 2012

1 commit

  • What is this?

    =============

    This tool is a Python script which:
    - Creates patch directly from your branch
    - Cleans them up by removing unwanted tags
    - Inserts a cover letter with change lists
    - Runs the patches through checkpatch.pl and its own checks
    - Optionally emails them out to selected people

    It is intended to automate patch creation and make it a less
    error-prone process. It is useful for U-Boot and Linux work so far,
    since it uses the checkpatch.pl script.

    It is configured almost entirely by tags it finds in your commits.
    This means that you can work on a number of different branches at
    once, and keep the settings with each branch rather than having to
    git format-patch, git send-email, etc. with the correct parameters
    each time. So for example if you put:

    in one of your commits, the series will be sent there.

    See the README file for full details.
    END

    Signed-off-by: Simon Glass

    Simon Glass