summaryrefslogtreecommitdiff
path: root/src/submodule.c
Commit message (Expand)AuthorAgeFilesLines
* submodule: don't leak memory when failing to insert the namesEtienne Samson2018-07-061-1/+2
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-30/+31
* submodule: remove useless mask computationsPatrick Steinhardt2018-05-301-18/+1
* submodule: refactor loading submodule namesPatrick Steinhardt2018-05-301-12/+24
* submodule: detect duplicated submodule pathsPatrick Steinhardt2018-05-301-0/+7
* submodule: plug leaks from the escape detectionCarlos Martín Nieto2018-05-241-3/+10
* submodule: replace index with strchr which exists on WindowsCarlos Martín Nieto2018-05-241-1/+1
* submodule: the repostiory for _name_is_valid should not be constCarlos Martín Nieto2018-05-241-3/+2
* path: reject .gitmodules as a symlinkCarlos Martín Nieto2018-05-231-1/+1
* submodule: also validate Windows-separated paths for validityCarlos Martín Nieto2018-05-141-9/+28
* submodule: ignore submodules which include path traversal in their nameCarlos Martín Nieto2018-05-091-3/+25
* Merge pull request #4522 from csware/submodules-should-report-parse-errorsEdward Thomson2018-04-171-18/+27
|\
| * Submodule API should report .gitmodules parse errorsSven Strickroth2018-03-271-18/+27
* | submodule: add more robust error handling when a submodule path is found on addCarson Howard2018-03-281-11/+14
* | submodule: add better error handling to is_path_occupiedCarson Howard2018-03-271-1/+4
* | submodule: change can_add_submodule to is_path_occupiedCarson Howard2018-03-271-6/+11
* | submodule: update index check to check path before directory and fix testsCarson Howard2018-03-271-19/+24
* | submodule: fix styling errorsCarson Howard2018-03-271-29/+36
* | submodule: check index for prefix before adding submoduleCarson Howard2018-03-271-0/+31
|/
* config: pass repository when opening config filesPatrick Steinhardt2017-10-091-1/+1
* submodule: refuse lookup in bare repositoriesPatrick Steinhardt2017-08-251-0/+10
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+2
* Merge pull request #4163 from pks-t/pks/submodules-with-worktreesEdward Thomson2017-03-221-6/+18
|\
| * submodule: resolve URLs relative to main worktreePatrick Steinhardt2017-03-171-6/+18
* | submodule: catch when submodule is not staged on updatePatrick Steinhardt2017-03-141-1/+9
|/
* khash: avoid using macro magic to get return addressPatrick Steinhardt2017-02-171-2/+2
* khash: avoid using `kh_put` directlyPatrick Steinhardt2017-02-171-1/+1
* khash: avoid using `kh_size` directlyPatrick Steinhardt2017-02-171-1/+1
* repository: use `git_repository_item_path`Patrick Steinhardt2017-02-131-4/+8
* Fix uninitialized variable warningMatthew Plough2017-01-271-1/+1
* submodule: only examine idx & head given a configEdward Thomson2017-01-231-2/+2
* submodule: don't double free during load failureEdward Thomson2017-01-231-2/+1
* variable 'i' is used uninitialized whenever 'if' condition is trueEtienne Samson2017-01-231-1/+2
* Merge branch 'master' into pr/3938Edward Thomson2017-01-211-108/+158
|\
| * Skip submodule head/index update when caching.Brock Peabody2017-01-201-6/+15
| * Allow for caching of submodules.Brock Peabody2017-01-201-39/+80
| * Fix formattingDavid Turner2017-01-201-71/+71
| * giterr_set: consistent error messagesEdward Thomson2016-12-291-14/+14
* | Remove set of submodule update `checkout_strategy`Josh Leeb-du Toit2016-10-101-1/+0
* | Remove `clone_checkout_strategy` in submodule update optsJosh Leeb-du Toit2016-10-101-1/+1
|/
* submodule: Try to fetch when update fails to find the target commit in the su...Jason Haslam2016-06-281-4/+16
* tree: re-use the id and filename in the odb objectCarlos Martín Nieto2016-03-201-1/+1
* submodule: avoid passing NULL pointers to strncmpPatrick Steinhardt2016-03-111-1/+2
* Merge pull request #3613 from ethomson/fixupsCarlos Martín Nieto2016-02-181-2/+2
|\
| * submodule: explicitly cast to the teensy time valueEdward Thomson2016-02-161-2/+2
* | Horrible fix for #3173.Arthur Schreiber2016-02-111-3/+3
|/
* Use a typedef for the submodule_foreach callback.joshaber2015-12-081-1/+1
* submodule: reload HEAD/index after reading configEdward Thomson2015-11-041-24/+18
* Plug some leaksCarlos Martín Nieto2015-09-271-0/+3
* submodule: plug a few leakscmn/plug-smCarlos Martín Nieto2015-09-241-13/+21