[Libguestfs] [nbdkit PATCH 15/17] plugins/sh: wrap source code at 80 chars

Laszlo Ersek lersek at redhat.com
Thu Apr 13 14:03:44 UTC 2023


Wrap the source code at 80 characters.

Truncate the commit hash in the overlong github.com link to 12 nibbles.

Testing: (a) the truncated link leads to the same resource, (b) nbdkit
still builds.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Signed-off-by: Laszlo Ersek <lersek at redhat.com>
---
 plugins/sh/call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/sh/call.c b/plugins/sh/call.c
index a07935b92946..888c6459ae67 100644
--- a/plugins/sh/call.c
+++ b/plugins/sh/call.c
@@ -237,7 +237,7 @@ call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */
 
     /* Note the assignment of environ avoids using execvpe which is a
      * GNU extension.  See also:
-     * https://github.com/libguestfs/libnbd/commit/dc64ac5cdd0bc80ca4e18935ad0e8801d11a8644
+     * https://github.com/libguestfs/libnbd/commit/dc64ac5cdd0b
      */
     environ = env;
     execvp (argv[0], (char **) argv);



More information about the Libguestfs mailing list