File: Automatic_commit_messages_for_git_annex_sync.mdwn

package info (click to toggle)
git-annex 5.20151208-1~bpo8%2B1
  • links: PTS
  • area: main
  • in suites: jessie-backports
  • size: 48,312 kB
  • sloc: haskell: 48,234; sh: 1,540; ansic: 484; makefile: 267; perl: 145
file content (1 line) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (12)
1
Not really important (who reads git annex commit messages anyways ;-)), but nice to have and maybe a nice task for someone who wants to play around with Haskell and git annex: It would be shiny if the auto-commit done by git annex sync would automatically create a sensible commmit message and description. E.g. if just one file is added, it could say „Added blubb“. If a few files are added, it could say „Added blubb, bla and n other files“, based on the file name length, and list the files in the long description. Lots of room for playing around :-)