From 18cffa8aa98b85f1c90976fc29bdd8cb52abd2d2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 17 Jul 2020 10:56:22 -0700 Subject: [PATCH] A couple minor changes. --- lib/sysacls.h | 2 +- support/git-set-file-times | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sysacls.h b/lib/sysacls.h index 9c08255e..8865dae4 100644 --- a/lib/sysacls.h +++ b/lib/sysacls.h @@ -3,7 +3,7 @@ * Version 2.2.x * Portable SMB ACL interface * Copyright (C) Jeremy Allison 2000 - * Copyright (C) 2007-2019 Wayne Davison + * Copyright (C) 2007-2020 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/support/git-set-file-times b/support/git-set-file-times index b4c98c5d..51962d37 100755 --- a/support/git-set-file-times +++ b/support/git-set-file-times @@ -79,10 +79,10 @@ def print_line(fn, mtime, commit_time): if __name__ == '__main__': - parser = argparse.ArgumentParser(description="Set the times of the current git checkout to their last-changed time.", add_help=False) + parser = argparse.ArgumentParser(description="Set the times of the files in the current git checkout to their last-changed time.", add_help=False) parser.add_argument('--git-dir', metavar='GIT_DIR', help="The git dir to query (defaults to affecting the current git checkout).") parser.add_argument('--tree', metavar='TREE-ISH', help="The tree-ish to query (defaults to the current branch).") - parser.add_argument('--prefix', metavar='PREFIX_STR', help="Prepend the PREFIX_STR to each filename we tweak.") + parser.add_argument('--prefix', metavar='PREFIX_STR', help="Prepend the PREFIX_STR to each filename we tweak (defaults to the top of current checkout).") parser.add_argument('--quiet', '-q', action='store_true', help="Don't output the changed-file information.") parser.add_argument('--list', '-l', action='count', help="List files & times instead of changing them. Repeat for Unix timestamp instead of human readable.") parser.add_argument('files', metavar='FILE', nargs='*', help="Specify a subset of checked-out files to tweak.") -- 2.47.2