[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 2/2] vi: don't touch file with :x when modified_count == 0
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2017-03-13 19:53:16
Message-ID: CAK1hOcMMh6HsUpJXaY9FucFbJdab4K70JUC=U5K2-0oKm_UiSQ () mail ! gmail ! com
[Download RAW message or body]
On Wed, Feb 22, 2017 at 2:11 PM, Yousong Zhou <yszhou4tech@gmail.com> wrote:
> Along with it, there are other changes
>
> - Check for uppercase X is removed as the expression will be always false and
> :X itself is another totally different command in standard vim
> - The status line will show number of written lines instead of lines requested
> by the colon command. This is also how the standard vim is doing, though
> the difference is that '!' has to be explicitly specified in vim to allow
> partial writes
>
> "make bloatcheck" output
>
> function old new delta
> colon 3190 3193 +3
> ------------------------------------------------------------------------------
> (add/remove: 0/0 grow/shrink: 1/0 up/down: 3/0) Total: 3 bytes
>
> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Applied, thanks!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic