diff options
-rwxr-xr-x | tools/git-notify | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/git-notify b/tools/git-notify index 97bd2ada..ebede1a4 100755 --- a/tools/git-notify +++ b/tools/git-notify | |||
@@ -21,6 +21,7 @@ | |||
21 | # -r name Set the git repository name | 21 | # -r name Set the git repository name |
22 | # -s bytes Set the maximum diff size in bytes (-1 for no limit) | 22 | # -s bytes Set the maximum diff size in bytes (-1 for no limit) |
23 | # -t file Set the file to use for reading and saving state | 23 | # -t file Set the file to use for reading and saving state |
24 | # -U mask Set the umask for creating the state file | ||
24 | # -u url Set the URL to the gitweb browser | 25 | # -u url Set the URL to the gitweb browser |
25 | # -i branch If at least one -i is given, report only for specified branches | 26 | # -i branch If at least one -i is given, report only for specified branches |
26 | # -x branch Exclude changes to the specified branch from reports | 27 | # -x branch Exclude changes to the specified branch from reports |
@@ -93,8 +94,8 @@ sub usage() | |||
93 | print " -r name Set the git repository name\n"; | 94 | print " -r name Set the git repository name\n"; |
94 | print " -s bytes Set the maximum diff size in bytes (-1 for no limit)\n"; | 95 | print " -s bytes Set the maximum diff size in bytes (-1 for no limit)\n"; |
95 | print " -t file Set the file to use for reading and saving state\n"; | 96 | print " -t file Set the file to use for reading and saving state\n"; |
97 | print " -U mask Set the umask for creating the state file\n"; | ||
96 | print " -u url Set the URL to the gitweb browser\n"; | 98 | print " -u url Set the URL to the gitweb browser\n"; |
97 | print " -U mask Set the umask for creatung the state file\n"; | ||
98 | print " -i branch If at least one -i is given, report only for specified branches\n"; | 99 | print " -i branch If at least one -i is given, report only for specified branches\n"; |
99 | print " -x branch Exclude changes to the specified branch from reports\n"; | 100 | print " -x branch Exclude changes to the specified branch from reports\n"; |
100 | print " -X Exclude merge commits\n"; | 101 | print " -X Exclude merge commits\n"; |
@@ -273,8 +274,8 @@ sub parse_options() | |||
273 | elsif ($arg eq '-r') { $repos_name = shift @ARGV; } | 274 | elsif ($arg eq '-r') { $repos_name = shift @ARGV; } |
274 | elsif ($arg eq '-s') { $max_diff_size = shift @ARGV; } | 275 | elsif ($arg eq '-s') { $max_diff_size = shift @ARGV; } |
275 | elsif ($arg eq '-t') { $state_file = shift @ARGV; } | 276 | elsif ($arg eq '-t') { $state_file = shift @ARGV; } |
276 | elsif ($arg eq '-u') { $gitweb_url = shift @ARGV; } | ||
277 | elsif ($arg eq '-U') { $mode_mask = shift @ARGV; } | 277 | elsif ($arg eq '-U') { $mode_mask = shift @ARGV; } |
278 | elsif ($arg eq '-u') { $gitweb_url = shift @ARGV; } | ||
278 | elsif ($arg eq '-i') { push @include_list, shift @ARGV; } | 279 | elsif ($arg eq '-i') { push @include_list, shift @ARGV; } |
279 | elsif ($arg eq '-x') { push @exclude_list, shift @ARGV; } | 280 | elsif ($arg eq '-x') { push @exclude_list, shift @ARGV; } |
280 | elsif ($arg eq '-X') { push @revlist_options, "--no-merges"; } | 281 | elsif ($arg eq '-X') { push @revlist_options, "--no-merges"; } |