[PATCH] git-submodule: a small fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In git-submodule.sh, the "url" variable may contain a stale value from
the previous loop iteration, so clear it.

--- git-submodule.sh.orig   2011-09-26 17:50:45.000000000 -0400
+++ git-submodule.sh    2011-09-26 17:51:18.000000000 -0400
@@ -370,6 +370,8 @@
           esac
           git config submodule."$name".url "$url" ||
           die "Failed to register url for submodule path '$path'"
+        else
+            url=""
       fi

       # Copy "update" setting when it is not set yet
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]