Merge branch 'sb/submodule-update-dot-branch'
commit11b53957ac81dc31668a1d8fe65d19d5f60dd501
authorJunio C Hamano <gitster@pobox.com>
Wed, 10 Aug 2016 19:33:20 +0000 (10 12:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Aug 2016 19:33:20 +0000 (10 12:33 -0700)
treee479fc638095c27aabc0245df55b7771b215bbd3
parent1a5f1a3f256a53014e5b832e1281d952ec5f9ef7
parent967d7f898c30bad41824c3f77962266b7cd7be32
Merge branch 'sb/submodule-update-dot-branch'

A few updates to "git submodule update".

Use of "| wc -l" break with BSD variant of 'wc'.

* sb/submodule-update-dot-branch:
  t7406: fix breakage on OSX
  submodule update: allow '.' for branch value
  submodule--helper: add remote-branch helper
  submodule-config: keep configured branch around
  submodule--helper: fix usage string for relative-path
  submodule update: narrow scope of local variable
  submodule update: respect depth in subsequent fetches
  t7406: future proof tests with hard coded depth
builtin/submodule--helper.c
git-submodule.sh
submodule-config.c