tFetch latest commit before updating port - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit d40620035f07e51240b341fb99e3951b8e904cdc
 (DIR) parent a1b619a5eae6d74857195606015ad0636747144c
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Mon,  1 Sep 2014 12:24:47 +0200
       
       Fetch latest commit before updating port
       
       Diffstat:
         M prtup                               |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/prtup b/prtup
       t@@ -28,6 +28,7 @@ get_version() {
        
            # enter the git directory
            if cd $name; then
       +        git pull origin master
        
                # get the git hash and its minimized version
                version=$(git log --oneline --format="git-%h" | sed 1q)