diff --git a/doc/todo/get__58___allow_for_both_--branch_and_pathspec.mdwn b/doc/todo/get__58___allow_for_both_--branch_and_pathspec.mdwn index e80cfb14bd..9c0156369a 100644 --- a/doc/todo/get__58___allow_for_both_--branch_and_pathspec.mdwn +++ b/doc/todo/get__58___allow_for_both_--branch_and_pathspec.mdwn @@ -6,3 +6,5 @@ yoh@typhon:/mnt/DATA/data/yoh/1076_spacetop$ git annex get --branch e6888f70ed97 git-annex: Can only specify one of file names, --all, --branch, --unused, --failed, --key, or --incomplete ``` + +> [[closing|done]] --[[Joey]] diff --git a/doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment b/doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment new file mode 100644 index 0000000000..500e6dc3b4 --- /dev/null +++ b/doc/todo/get__58___allow_for_both_--branch_and_pathspec/comment_2_e5864c4befa0689b25d95eb17d0315c9._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2024-12-18T23:40:52Z" + content=""" +Aha, --include and --exclude options work with --branch. So: + + git annex get --branch e6888f70ed97099f83a77d5bcf3372a9a75a2b5e^ --include=*/*.nii.gz' + +No need for git's pagespecs when we have [[git-annex-matching-options]]! +"""]]