Download raw body.
gitconfig: fix read/write out of bound
On 2023/02/19 10:19:41 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> On Sat, Feb 18, 2023 at 06:47:21PM +0100, Omar Polo wrote:
> > + (cd "$testroot/repo" && got log -l1 | grep ^from: > $testroot/stdout)
> > + ret=$?
> > + if [ $ret -ne 0 ]; then
> > + test_done "$testroot" "$ret"
> > + return 1
> > + fi
> > +
> > + echo "from: Flank Luck <flan_luck@openbsd.org>" \
>
> Who is Flank?
woops :)
> > + > $testroot/stdout.expectd
^^^^^^^
due to this typo it was using the previous stdout.expected and so
haven't spotted the issue. Fixed both, thanks!
> > + cmp -s $testroot/stdout.expected $testroot/stdout
> > + ret=$?
> > + if [ $ret -ne 0 ]; then
> > + diff -u $testroot/stdout.expected $testroot/stdout
> > + fi
> > test_done "$testroot" "$ret"
> > }
> >
> >
> >
gitconfig: fix read/write out of bound