Debian Codegraph @

bin/git-annex-reviewunused

raw
1 #!/usr/bin/perl
2 # PODNAME: git-annex-reviewunused
3 # ABSTRACT: interactively process 'git annex unused' output
4 #
5 # Copyright (C) 2019-2020 Sean Whitton <[email protected]>
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or (at
10 # your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 =head1 SYNOPSIS
21
22 B<git annex reviewunused> [B<--just-print>] [B<--from=>I<REMOTE>] [B<--used-refspec=>I<USEDREFSPEC>]
23
24 =head1 DESCRIPTION
25
26 This program lets you interactively review unused files in a git annex
27 repository, choosing which you'd like to drop. By running git-log(1),
28 it provides more information about unused files than does B<git annex
29 unused>.
30
31 =head1 OPTIONS
32
33 =over 4
34
35 =item B<--just-print>
36
37 Run non-interactively: gather and print information about unused
38 files, and then exit.
39
40 =item B<--from=>I<REMOTE>
41
42 Passed on to B<git annex unused>.
43
44 =item B<--used-refspec=>I<USEDREFSPEC>
45
46 Passed on to B<git annex unused>.
47
48 =back
49
50 =head1 EXIT STATUS
51
52 0 if there are no unused files left at time of program exit, 1 if there are.
53
54 =head1 SEE ALSO
55
56 git-annex-unused(1), git-annex-dropunused(1)
57
58 =cut
59
60 use App::git_annex_reviewunused;
61 exit App::git_annex_reviewunused->main;