aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff-tree_--cc_--patch-with-stat_master
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-04-28 13:02:45 -0700
committerJunio C Hamano <gitster@pobox.com>2016-04-29 10:05:24 -0700
commitd92028a575dde9c325e23f89c3d2b24f13868c57 (patch)
treee6ea58d26e09d74c1a78fe54c3e2ef052a1e56c3 /t/t4013/diff.diff-tree_--cc_--patch-with-stat_master
parentsubmodule: port init from shell to C (diff)
downloadgit-d92028a575dde9c325e23f89c3d2b24f13868c57.tar.gz
git-d92028a575dde9c325e23f89c3d2b24f13868c57.zip
submodule init: fail gracefully with a missing .gitmodules file
When there is no .gitmodules file availabe to initialize a submodule from, `submodule_from_path` just returns NULL. We need to check for that and abort gracefully. When `submodule init` was implemented in shell, a missing .gitmodules file would result in an error message No url found for submodule path '%s' in .gitmodules Replicate that error message for now. When the .gitmodules file is missing we can probably fail even earlier for all of the submodules with an improved error message. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_--patch-with-stat_master')
0 files changed, 0 insertions, 0 deletions
ating dir entry lengthJan Kara3-15/+10 2018-06-20udf: Detect incorrect directory sizeJan Kara1-0/+3 2018-06-20ext2: add warning when specifying nocheck optionChengguang Xu2-5/+3 2018-06-20quota: Cleanup list iteration in dqcache_shrink_scan()Jan Kara1-5/+2 2018-06-20quota: reclaim least recently used dquotsGreg Thelen1-2/+2 2018-06-20ACPI / processor: Finish making acpi_processor_ppc_has_changed() voidBrian Norris1-2/+1 2018-06-20HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro largeJason Gerecke1-0/+8 2018-06-20HID: intel_ish-hid: ipc: register more pm callbacks to support hibernationEven Xu1-15/+7 2018-06-20HID: steam: use hid_device.driver_data instead of hid_set_drvdata()Rodrigo Rivas Costa1-5/+5 2018-06-20proc: fix missing final NUL in get_mm_cmdline() rewriteLinus Torvalds1-5/+23 2018-06-20ip: limit use of gso_size to udpWillem de Bruijn2-2/+4 2018-06-20stmmac: fix DMA channel hang in half-duplex modeBhadram Varka1-0/+10 2018-06-20net: stmmac: socfpga: add additional ocp reset line for Stratix10Dinh Nguyen2-5/+15 2018-06-20net: sungem: fix rx checksum supportEric Dumazet1-10/+12