grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 5/8] verifiers: Rename verify module to pgp module


From: Ross Philipson
Subject: Re: [PATCH v3 5/8] verifiers: Rename verify module to pgp module
Date: Fri, 5 Oct 2018 12:24:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 10/03/2018 05:36 AM, Daniel Kiper wrote:
> Just for clarity. No functional change.
> 
> Signed-off-by: Daniel Kiper <address@hidden>
> ---
>  grub-core/Makefile.core.def |    4 +-
>  grub-core/commands/pgp.c    | 1018 
> +++++++++++++++++++++++++++++++++++++++++++
>  grub-core/commands/verify.c | 1018 
> -------------------------------------------
>  3 files changed, 1020 insertions(+), 1020 deletions(-)
>  create mode 100644 grub-core/commands/pgp.c
>  delete mode 100644 grub-core/commands/verify.c
> 
> diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
> index dfcc95d..3008b58 100644
> --- a/grub-core/Makefile.core.def
> +++ b/grub-core/Makefile.core.def
> @@ -888,8 +888,8 @@ module = {
>  };
>  
>  module = {
> -  name = verify;
> -  common = commands/verify.c;
> +  name = pgp;
> +  common = commands/pgp.c;
>    cflags = '$(CFLAGS_POSIX)';
>    cppflags = '-I$(srcdir)/lib/posix_wrap';
>  };
> diff --git a/grub-core/commands/pgp.c b/grub-core/commands/pgp.c
> new file mode 100644
> index 0000000..d5d7c0f
> --- /dev/null
> +++ b/grub-core/commands/pgp.c
> @@ -0,0 +1,1018 @@

[snip]

> diff --git a/grub-core/commands/verify.c b/grub-core/commands/verify.c
> deleted file mode 100644
> index d5d7c0f..0000000
> --- a/grub-core/commands/verify.c
> +++ /dev/null
> @@ -1,1018 +0,0 @@

[snip]

Scanning through this in a split view, the new file looks exactly the
same as the old one. Shouldn't this just be a git mv (a rename commit)
instead of deleting the old file and adding a new one?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]