[PATCH/RFC/GSoC 1/2] count recursion depth

2016-04-21 Thread XZS
GIT_RECURSION_DEPTH to the same purpose. Wrappers around git can intentionally set GIT_RECURSION_DEPTH to ensure a command acts as if it was called internally. Signed-off-by: XZS <d.f.fisc...@web.de> --- cache.h| 1 + git.c | 17 + t/t0001-i

[PATCH/RFC/GSoC 2/2] add a add.patch config variable

2016-04-21 Thread XZS
. To not affect other commands that use the add built-in, the variable looses its effect when invoked transitively. Signed-off-by: XZS <d.f.fisc...@web.de> --- I corrected the errorneous use of -p in the test. Thanks to Christian Couder for the notice. Documentation/config.txt

[PATCH/RFC/GSoC 0/2] add a add.patch config variable

2016-04-21 Thread XZS
lure/ } ' '{}' + I am unsure whether I placed all the code into the correct locations, so comments are much appreciated, as well as opinions about the concept of a recursion counter in general. Regards, XZS. XZS (2): count recursion depth add a add.patch config variable Documentation/config

[GSoC] Proposal

2016-03-24 Thread XZS
; and "git rebase improvements" in the ideas page. Both list no mentor, so please let me know if you know anyone who should be mentioned in CC. Regards, XZS. [1]: https://docs.google.com/document/d/1-BV-s5VUGTvBlcVDeo6tVqQO5D1hqeQDqaf37iYuIfU/edit?usp=sharing -- 2.7.4 -- To unsubs

[PATCH/GSoC] add a add.patch config variable

2016-03-24 Thread XZS
-by: XZS <d.f.fisc...@web.de> --- The list of microproject suggestions for the Summer of Code 2016 proposed to "add configuration options for some commonly used command-line options", so I added a configuraion variable for an option I use all the time. Documentation/config.txt