]> git.ozlabs.org Git - next-scripts/blobdiff - common.sh
make the merge messages more useful
[next-scripts] / common.sh
index 7eaa48620e0214885854a542a612c7e113c5f317..d4e3350ab13d5907651e6624d6d47a1e82817f67 100644 (file)
--- a/common.sh
+++ b/common.sh
@@ -54,6 +54,11 @@ get_contacts()
        awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $1; }' $CTRL_FILE
 }
 
+get_url()
+{
+       awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $4; }' $CTRL_FILE
+}
+
 check_unmerged_files()
 {
        local tree="$1"