Re: [RFC PATCH 0/1] bdl-lib.sh: add bash debug logger
- From
Wink Saville <wink@saville.com>
- Date
- Mar 30, 2018, 22:30 UTC
- Message-ID
- <CAKk8isqA6Ru05kRJ+xiVHEkzPgH24cKUZbbgw2tEnw4rhafDQw@mail.gmail.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1803301231430.5026@qfpub.tvgsbejvaqbjf.bet>
On Fri, Mar 30, 2018 at 3:34 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 20 quoted lines
> Hi Wink, > > On Tue, 27 Mar 2018, Wink Saville wrote: > >> Add bdl-lib.sh which provides functions to assit in debugging git >> shell scripts and tests. > > Interesting idea. It is Bash-only, though... (and it is not a secret that > I want to discourage using Unix shell scripts in Git's production code, > they are a decent way to prototype things, but they fall short of being > robust and portable in practice, and don't get me started on speed > issues). > > So rather than spending time on making it easier to debug shell scripts, I > would love to see us going into the direction of a consistent C source > code. I still believe that we can get there, and that the benefits are > worth the (huge) effort. > > Ciao, > Johannes
I totally agree the code base should use primarily one language!
But that's not the case now and "bdl" gave me insight into the workings of rebase--interactive and I found little guidance on how to debug or learn the code base. So I thought I'd see if there was interest in what I'd done.
If I were to make it non-bash specific would there be any interest?
-- Wink