mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: Felix Mellmann <flix.ptxdist@benfm.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] Added symbolic links to the midnight commander package which allows to call the viewer, the editor and the diff tool from the command line.
Date: Sun, 24 Jan 2021 14:08:24 +0100	[thread overview]
Message-ID: <20210124130824.7ubx4yilejyrgahw@falbala.internal.home.lespocky.de> (raw)
In-Reply-To: <20210124111804.510632-1-flix.ptxdist@benfm.de>


[-- Attachment #1.1: Type: text/plain, Size: 1576 bytes --]

Hello Felix,


On Sun, Jan 24, 2021 at 12:18:05PM +0100, Felix Mellmann wrote:
> The midnight commander allows to call internal tools by using their apropriate
> name. By adding symbolic links these tool are accessible from the command line.
> Some users may appreciate using i.e. mcedit directly without the need to start
> a midnight commander.
> 
> Signed-off-by: Felix Mellmann <flix.ptxdist@benfm.de>
> ---
>  rules/mc.make | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/rules/mc.make b/rules/mc.make
> index 67fc61690..9335e9d0b 100644
> --- a/rules/mc.make
> +++ b/rules/mc.make
> @@ -71,6 +71,10 @@ $(STATEDIR)/mc.targetinstall:
>  	@$(call install_fixup, mc,DESCRIPTION,missing)
>  
>  	@$(call install_copy, mc, 0, 0, 0755, -, /usr/bin/mc)
> +	@$(call install_link, mc, mc, /usr/bin/mcdiff)
> +	@$(call install_link, mc, mc, /usr/bin/mcedit)
> +	@$(call install_link, mc, mc, /usr/bin/mcview)
> +
>  	@$(call install_alternative_tree, mc, 0, 0, /etc/mc)
>  	@$(call install_tree, mc, 0, 0, -, /usr/share/mc/skins)

This is certainly a valuable improvement. However, please trim down
the first line of the commit message to 60, at most 80 chars. This is
common practice and good style when working with Git.

Thanks and greets
Alex

-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2021-01-24 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 11:18 Felix Mellmann
2021-01-24 13:08 ` Alexander Dahl [this message]
2021-01-24 13:31   ` Felix Mellmann
2021-01-24 15:42     ` Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210124130824.7ubx4yilejyrgahw@falbala.internal.home.lespocky.de \
    --to=post@lespocky.de \
    --cc=flix.ptxdist@benfm.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox