Hi Elijah,

On Tue, 24 Apr 2018, Elijah Newren wrote:

> This allows us to run git, when using the script from bin-wrappers, under
> other programs.  A few examples for usage within testsuite scripts:
> 
>    debug git checkout master
>    debug --debugger=nemiver git $ARGS
>    debug -d "valgrind --tool-memcheck --track-origins=yes" git $ARGS
> 
> Or, if someone has bin-wrappers/ in their $PATH and is executing git
> outside the testsuite:
> 
>    GIT_DEBUGGER="gdb --args" git $ARGS
>    GIT_DEBUGGER=nemiver git $ARGS
>    GIT_DEBUGGER="valgrind --tool=memcheck --track-origins=yes" git $ARGS
> 
> There is also a handy shortcut of GIT_DEBUGGER=1 meaning the same as
> GIT_DEBUGGER="gdb --args"
> 
> Original-patch-by: Johannes Schindelin <johannes.schinde...@gmx.de>
> Signed-off-by: Elijah Newren <new...@gmail.com>

Looks good to me!
Dscho

Reply via email to