]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
A couple minor changes.
authorWayne Davison <wayne@opencoder.net>
Fri, 17 Jul 2020 17:56:22 +0000 (10:56 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 17 Jul 2020 17:56:22 +0000 (10:56 -0700)
lib/sysacls.h
support/git-set-file-times

index 9c08255ed455b8706de866ac937409dacc8aabda..8865dae4334335fb4c3eabb5f8c31c7a60520030 100644 (file)
@@ -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
index b4c98c5d1bb23d3e4d805ee484d29f257585d4b1..51962d37b5e1e8e4aed0d85436ccc1ad17385ec7 100755 (executable)
@@ -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.")