diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-06 09:42:20 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-06 09:42:20 -0700 |
commit | ccf0a346b6d28f03afb4d87ac6da554347a75e37 (patch) | |
tree | 24a3071f586aace47183094c01b8c9f97e1ada43 /bin | |
parent | 3764a4f8ee4858f965e4508c5436f4b44df97d4a (diff) | |
download | p5-Git-Annex-ccf0a346b6d28f03afb4d87ac6da554347a75e37.tar.gz |
improvements & tweaks to docs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/annex-review-unused | 8 | ||||
-rwxr-xr-x | bin/annex-to-annex | 8 | ||||
-rwxr-xr-x | bin/annex-to-annex-dropunused | 4 | ||||
-rwxr-xr-x | bin/annex-to-annex-reinject | 8 |
4 files changed, 15 insertions, 13 deletions
diff --git a/bin/annex-review-unused b/bin/annex-review-unused index 4c06307..082f058 100755 --- a/bin/annex-review-unused +++ b/bin/annex-review-unused @@ -1,7 +1,7 @@ #!/usr/bin/perl # PODNAME: annex-review-unused # 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 @@ -24,9 +24,9 @@ B<annex-review-unused> [B<--just-print>] [B<--from=>I<REMOTE>] [B<--used-refspec =head1 DESCRIPTION This program lets you interactively review unused files in a git annex -repository, choosing which you'd like to drop. It provides more -information about unused files that B<git annex unused>, by running -git-log(1). +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 diff --git a/bin/annex-to-annex b/bin/annex-to-annex index 517bdcd..ee16f05 100755 --- a/bin/annex-to-annex +++ b/bin/annex-to-annex @@ -1,7 +1,7 @@ #!/usr/bin/perl # PODNAME: annex-to-annex # ABSTRACT: use hardlinks to migrate files between git annex repos - +# # Copyright (C) 2019-2020 Sean Whitton # # This program is free software: you can redistribute it and/or modify @@ -24,8 +24,8 @@ B<annex-to-annex> [B<--commit>] I<source> ... I<destination> =head1 DESCRIPTION This script moves files and directories from one or more git annexes -into a destination git annex, using hardlinks rather than copying -files where possible. +into a destination git annex, where possible using hardlinks instead +of copying files. It is useful for splitting and consolidating git annexes. For example, at the end of the semester I use this script to move files @@ -48,7 +48,7 @@ changes are merely added to the index. =head1 SEE ALSO -git-annex(1) +git-annex(1), annex-to-annex-dropunused(1), annex-to-annex-reinject(1) =cut diff --git a/bin/annex-to-annex-dropunused b/bin/annex-to-annex-dropunused index a90b45f..9abb25f 100755 --- a/bin/annex-to-annex-dropunused +++ b/bin/annex-to-annex-dropunused @@ -1,7 +1,7 @@ #!/usr/bin/perl # PODNAME: annex-to-annex-dropunused # ABSTRACT: drop old hardlinks migrated by annex-to-annex - +# # Copyright (C) 2019-2020 Sean Whitton # # This program is free software: you can redistribute it and/or modify @@ -36,7 +36,7 @@ None. =head1 SEE ALSO -annex-to-annex(1) +git-annex-dropunused(1), annex-to-annex(1), annex-to-annex-reinject(1) =cut diff --git a/bin/annex-to-annex-reinject b/bin/annex-to-annex-reinject index 66b39ca..897c007 100755 --- a/bin/annex-to-annex-reinject +++ b/bin/annex-to-annex-reinject @@ -1,7 +1,7 @@ #!/usr/bin/perl # PODNAME: annex-to-annex-reinject # ABSTRACT: use 'git annex reinject' to redo annex-to-annex - +# # Copyright (C) 2019-2020 Sean Whitton # # This program is free software: you can redistribute it and/or modify @@ -25,7 +25,9 @@ B<annex-to-annex-reinject> I<SOURCEANNEX> I<DESTANNEX> Wrapper around B<git annex reinject --known>, invoked in I<DESTANNEX>, on the files in the git-annex objects dir of the I<SOURCEANNEX> -(usually I<SOURCEANNEX>/.git/annex/objects). +(usually I<SOURCEANNEX>/.git/annex/objects). After reinjecting files, +the git-annex branch of I<SOURCEANNEX> is updated so that it does not +think the content is present there anymore. Suppose that you use annex-to-annex(1) to migrate files from ~/work to ~/old on your laptop, where each of ~/work and ~/old are git annexes. @@ -44,7 +46,7 @@ None. =head1 SEE ALSO -annex-to-annex(1), annex-to-annex-dropunused(1) +git-annex-reinject(1), annex-to-annex(1), annex-to-annex-dropunused(1) =cut |