From owner-freebsd-stable@freebsd.org Fri Feb 26 18:55:20 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA56E54AEF3 for ; Fri, 26 Feb 2021 18:55:20 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnJkc5NgTz4kGK for ; Fri, 26 Feb 2021 18:55:20 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f46.google.com with SMTP id f20so10680321ioo.10 for ; Fri, 26 Feb 2021 10:55:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gV3hQig0Fpqh80rTvcHnnIt6B3Kbk1UCBBw5i1CwaYg=; b=MWgbqGw7QBe9L9lTRiOHTpDgmeA95e6c+3msTY7hWVC0a8t/pq8z79QJzWDnlg/Sdv gwJx0AOKN6DsB1iiinNO7SSNFDhGwWjWfrz/328unHFZANZxeBfYRBpOSU7CpLjDN7kD cKzxuy4/KTdqa8ruKq8Yk040om4coFhNbmZmbzDTv3PQ2lKjpQO1MBonG47L0HIoYqWp HNerqU3bsk82rB4zLsMqu9hhn3l1r2ULALKjkmHwjL+Iy1pgwshSqza0Fz0t7/KUyKTl IZ+OZ5O313WAG26GrS2Y650j10IjWOKHP3FqkpYx55BdgKi3iLwEQ7CI8TbzmfP+PW5o uF4A== X-Gm-Message-State: AOAM533Xx06Ct21MGgD1GH4azfAyu3QXl8nBmwdMytKkrwDA7H8yLdOg 29iTd9gkzhhGiFDi0YkiYSkHkp4nqZEC//D+xA8= X-Google-Smtp-Source: ABdhPJxOQVYX5pzvjFSmt0xef5weKVyrWktcXj/E8layTzeMTnMV/ZcbZG0KfmBvXs6BnO1C+KQYMPArXmD4VEGFx9E= X-Received: by 2002:a5d:93cc:: with SMTP id j12mr3911088ioo.15.1614365719693; Fri, 26 Feb 2021 10:55:19 -0800 (PST) MIME-Version: 1.0 References: <202102261710.11QHAVLY062611@nuc.oldach.net> In-Reply-To: <202102261710.11QHAVLY062611@nuc.oldach.net> From: Ed Maste Date: Fri, 26 Feb 2021 13:54:58 -0500 Message-ID: Subject: Re: How do I know if my 13-stable has security patches? To: Helge Oldach Cc: freebsd-stable stable , Warner Losh Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DnJkc5NgTz4kGK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 18:55:20 -0000 On Fri, 26 Feb 2021 at 12:10, Helge Oldach wrote: > > A shallow tree is about 1.6G. If you want to patch source (say, from > a SA or EN) you certainly also need space for an object tree which is > about 4.5G. The total is >6G. > > I'd say relative to the total required to build, the 1.1G "savings" from > using a shallow versus a full tree (which is about 2.7G) isn't really > worth the effort. Plus, you get the a few benefits like full commit > history including comments. Indeed, this is a good point. We can update docs to state: At present a full clone is required to include the commit count in uname. An existing shallow clone can be converted into a full clone by running % git fetch --unshallow