~sircmpwn/aerc

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH v2] Fix indentation

Details
Message ID
<20210107091444.29477-1-me@robinopletal.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 commands/msgview/save.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/msgview/save.go b/commands/msgview/save.go
index 014c204..dd09f19 100644
--- a/commands/msgview/save.go
+++ b/commands/msgview/save.go
@@ -181,7 +181,7 @@ func generateFilename(part *models.BodyStructure) string {
	if fn, ok := part.DispositionParams["filename"]; ok {
                filename = filepath.Base(fn)
	} else if fn, ok := part.Params["name"]; ok {
		filename = filepath.Base(fn)
                filename = filepath.Base(fn)
	} else {
		timestamp := time.Now().Format("2006-01-02-150405")
		filename = fmt.Sprintf("aerc_%v", timestamp)
--
2.29.2
Details
Message ID
<aOjEhoqRe83MJoeoWAVW1KfDIY1QVecfAfhq877creuPFHl6cOnfm2LiyIFsO_EwHVp7JVE4LyJEyCNm22SJ0rpXugWhJewQpidtiIzNbrA=@emersion.fr>
In-Reply-To
<20210107091444.29477-1-me@robinopletal.com> (view parent)
DKIM signature
missing
Download raw message
This fixes up the wrong line -- now there are two lines with spaces
instead of tabs.

You can use `go fmt ./...` to fix everything.
Details
Message ID
<C8CVFJU8B9J7.2VJKKCI067UVO@fedora-desktop>
In-Reply-To
<aOjEhoqRe83MJoeoWAVW1KfDIY1QVecfAfhq877creuPFHl6cOnfm2LiyIFsO_EwHVp7JVE4LyJEyCNm22SJ0rpXugWhJewQpidtiIzNbrA=@emersion.fr> (view parent)
DKIM signature
missing
Download raw message
On Thu Jan 7, 2021 at 11:38 AM CET, Simon Ser wrote:
> This fixes up the wrong line -- now there are two lines with spaces
> instead of tabs.
>
> You can use `go fmt ./...` to fix everything.

Thanks for letting me know. Fixed in another patch.
Details
Message ID
<C8CVMHYANZ2E.1I3N3BWX4MFZR@fedora-desktop>
In-Reply-To
<C8CVFJU8B9J7.2VJKKCI067UVO@fedora-desktop> (view parent)
DKIM signature
missing
Download raw message
On Thu Jan 7, 2021 at 11:58 AM CET, Robin Opletal wrote:
> On Thu Jan 7, 2021 at 11:38 AM CET, Simon Ser wrote:
> > This fixes up the wrong line -- now there are two lines with spaces
> > instead of tabs.
> >
> > You can use `go fmt ./...` to fix everything.
>
> Thanks for letting me know. Fixed in another patch.

It would also be good if I started using git commit --ammend, huh....
Reply to thread Export thread (mbox)