Package git-update-index-keeping-only: Information

    Source package: git-update-index-keeping-only
    Version: 0.3-alt1
    Latest version according to Repology
    Build time:  Jun 25, 2017, 07:24 PM in the task #184686
    Report package bug
    License: GPLv2+
    Summary: rm all but matching files from Git index. (Helps git-filter-branch.)
    Description: 
    git-update-index-keeping-only
    - A simple executable script that removes all but matching files from
      Git index. It is a useful helper for git-filter-branch --index-filter
      (for convenience, git-filter-only-files script is included). It is
      implemented on top of git-rm. It takes the list of files to keep on stdin.
    
    git-filter-only-files OLD_COMMIT NEW_BRANCH
    - A wrapper around git-filter-branch to rewrite history so that only
      some specified files are kept.
    
    git-ls-paths-modified-since SINCE CURRENT_COMMIT
    - A helper to list the files modified or added in the diff between
      2 commits (SINCE and CURRENT_COMMIT).
    
    Example of usage:
    
    FILES="$(git-ls-paths-modified-since SINCE)"
    export FILES
    git filter-branch \
       --index-filter 'echo "$FILES" | git-update-index-keeping-only -q'
    
    or simply:
    
    git-ls-paths-modified-since SINCE | git-filter-only-files HEAD NEW_BRANCH

    List of rpms provided by this srpm:
    git-update-index-keeping-only (noarch)

    Maintainer: Ivan Zakharyaschev

    List of contributors:
    Ivan Zakharyaschev

    ACL:
    Ivan Zakharyaschev
    @everybody

      1. /bin/bash4
      2. rpm-build-licenses

    Last changed


    June 25, 2017 Ivan Zakharyaschev 0.3-alt1
    - Split into more scripts which are individually useful:
      git-filter-only-files (to be combined with other criteria for
      selecting files), git-ls-paths-modified-since.
    - git filter-branch --prune-empty won't hurt us usually.
    - git-update-index-keeping-only fixed in some corner cases
      (how a file list is passed through xargs).
    Dec. 22, 2016 Ivan Zakharyaschev 0.2-alt1
    - git-update-index-keeping-only:
      correct work relative to the current (not toplevel) dir.
    - git-filter-only-files-modified-since:
      made independent of the current workdir.
    Dec. 20, 2016 Ivan Zakharyaschev 0.1-alt1
    - initial build for ALT Linux Sisyphus.