Skip to content

Bash script I use to share the changes between two commits as report

Notifications You must be signed in to change notification settings

palaniraja/whatchanged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatchanged?

This is a simple bash script to help me share a report of file changed between two commits. I started this as I could not find a way to pipe the git log output with xargs.

Anyhow, bash script ended up better options for writing it as html for other posibilities.

There were about atleast three different implementation of the script, refer history of whatchanged.sh to see other revisions of the script.

How to use

# sh whatchanged.sh <startCommitSHA> <endCommitSHA>

e.g.,

sh whatchanged.sh 3b9aea39c7 37c07544408b

Output

sample output - screenshot

TODO:

  • Commit logs by file
  • Excel friendly html table
  • With source diff
  • Diff options: side-by-side or line-by-line and clear
  • Filter files with certain extensions
  • Style & Typography - not happy with it
  • HTML Filter by file types?

A lot of dirty tricks involved, but hey it gets the job done. Will try to tidy up later*

Feel free to send me pull requests

About

Bash script I use to share the changes between two commits as report

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published