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