Skip to content

Utility to check if all commits in a source branch are represented as ports in the target branch

License

Notifications You must be signed in to change notification settings

rhynix/portcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portcheck

Utility to check if all commits in a git source branch are represented as ports in the target branch

Usage

portcheck [-v] <source-ref> [<target-ref>]

Options

  • -v: enables verbose mode
  • source-ref: branch or other ref containing commits that require port
  • target-ref: branch or other ref containing port commits (defaults to HEAD)

Ports

Ports of commit commit-sha are detected by having one of the following lines in the commit message:

(ported from commit <commit-sha>)
(cherry picked from commit <commit-sha>)

The commit-sha must be the complete SHA of the commit as returned by git rev-parse <ref>. The search is case insensitive.

The latter line can be generated by git when cherry picking by using the -x flag: git cherry-pick -x <commit sha>.

About

Utility to check if all commits in a source branch are represented as ports in the target branch

Topics

Resources

License

Stars

Watchers

Forks

Languages