two functions to get changed file between two branches have been added
This commit is contained in:
parent
9a1a3a3bf3
commit
0d931da021
|
@ -139,6 +139,14 @@ function git_pull() {
|
|||
git pull origin `git_current_branch` --rebase
|
||||
}
|
||||
|
||||
function git_changed_files() {
|
||||
git diff --name-only $1 $(git merge-base $1 $2)
|
||||
}
|
||||
|
||||
function git_changed_files_since_master() {
|
||||
git_changed_files $(git_current_branch) master
|
||||
}
|
||||
|
||||
#this is unlikely to change so make it all statically assigned
|
||||
POST_1_7_2_GIT=$(git_compare_version "1.7.2")
|
||||
#clean up the namespace slightly by removing the checker function
|
||||
|
|
Loading…
Reference in New Issue