git - Can gitattributes filters remove or add files? -


git attributes can used set filters per file make content of working directory transformed version of repository content. wondering if used clean .srcinfo files have dealt in archlinux' new aur version 4.

essentially, there 2 files called pkgbuild , .srcinfo both have stored in repository. case can safely assumed .srcinfo generated running program called mksrcinfo on pkgbuild. want both show in repository, pkgbuild in local tree.

how can set filter pair that

  • smudge removes .srcinfo, or better not create begin and

  • clean adds .srcinfo, generated running mksrcinfo pkgbuild?


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World