summaryrefslogtreecommitdiff
path: root/support/git-set-file-times
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-07-17 10:56:22 -0700
committerWayne Davison <wayne@opencoder.net>2020-07-17 10:56:22 -0700
commit18cffa8aa98b85f1c90976fc29bdd8cb52abd2d2 (patch)
tree2f0f8af31c0e69471e2e4e0ae1c816e9e2f43f67 /support/git-set-file-times
parent7e07a325043453ca2974f199b5cdda5f858b5603 (diff)
downloadrsync-18cffa8aa98b85f1c90976fc29bdd8cb52abd2d2.tar.gz
A couple minor changes.
Diffstat (limited to 'support/git-set-file-times')
-rwxr-xr-xsupport/git-set-file-times4
1 files changed, 2 insertions, 2 deletions
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.")