From owner-freebsd-git@freebsd.org Thu Nov 19 02:18:22 2020 Return-Path: Delivered-To: freebsd-git@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 EFF9847B2E2 for ; Thu, 19 Nov 2020 02:18:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 4Cc3Hw45Xhz3J7Q for ; Thu, 19 Nov 2020 02:18:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82d.google.com with SMTP id g20so3351037qtu.4 for ; Wed, 18 Nov 2020 18:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NyVshYQnEse9z4E04cMiGRusgHugg4LhVFtxQRtPIi8=; b=Peuc8NWHE+ihng9/lazRhENkxvzAPljRJhKqy5IoevNsdXrZAofwM1L7kTNp3Xu45x 90+Rp4wS+dcnTUkH1ZpweY7/csOSJBLep2SkwwOqJHTdgb+6ByEYur8PHGUzAFWMkhNo YX9xat0fxRIc4S9aXHCpU/2K1kce5c0Daqm8hDixGN2jKo4D9fgybJ/jqcoYSypRPkVZ w566DDTRQkJuNnHxCI8ghGXCn+pbYIrnvelwECoy/jUFVb2pfaANsgR7s6308I0SYKkZ xYUAEZUeOFD1ojNAseV8U6M3saHVGSIx6UukEbJX04edxYhUs4wyKUKLthG0xB99kEfe 0afQ== 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=NyVshYQnEse9z4E04cMiGRusgHugg4LhVFtxQRtPIi8=; b=cmH9gzr/RYc5F5yjfwwi9/ZIE8tsHq1GPxY0iNpWo8y87hEC4On34JkhRnmjw39Fcb rK8LIJam+HsKN8ZGYdGIEWO0e64X+u8EM7wAs1SFORmP+hNtuyM1g+p9R8XukU2mHta6 g4ErUSjBPqZIifaxAtXqVcRMwPxRlbzuRlTpqqMaplS8T4ag5RU2XqQZQ/uosEsIspl5 AIZye0nvDXY06oQTLbjxYkSbrf8ydLpNbvNxeN4AqIAGsI6UnBEVRov7Tp794zbZIK/G N+9cWOGvM362ZWlgDU6KJ6YP/Ogd9BmeZKvY3dcEYHb8pAv35DgEDqVO7IuoEAJzULus uSmA== X-Gm-Message-State: AOAM5336ZwASsZvFPidzaZOo0UUzOI9O1XeEQ2K75DERchu3FEgIa3RC 8udCECiCdvSD4UwF3fjwbzk6jArLsIweGhC+7QEFKOpvLvk7tQ== X-Google-Smtp-Source: ABdhPJxkEpKPqf2PlW1g+EDeiIQ7rBkGu+pn9aaQziWIDVZA1wHyBZ7vVaY/YE8Wn7axKZBAKk//WSl0X1l8bWVblD0= X-Received: by 2002:ac8:5351:: with SMTP id d17mr8490791qto.235.1605752299325; Wed, 18 Nov 2020 18:18:19 -0800 (PST) MIME-Version: 1.0 References: <197541CC-FEA7-4B4C-936E-66A5625BB64C@langille.org> In-Reply-To: <197541CC-FEA7-4B4C-936E-66A5625BB64C@langille.org> From: Warner Losh Date: Wed, 18 Nov 2020 19:18:07 -0700 Message-ID: Subject: Re: Monitoring commits on all branches To: Dan Langille Cc: freebsd-git@freebsd.org X-Rspamd-Queue-Id: 4Cc3Hw45Xhz3J7Q X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Peuc8NWH; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82d) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.02 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-git]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.983]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::82d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82d:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::82d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2020 02:18:23 -0000 On Wed, Nov 18, 2020, 6:49 PM Dan Langille wrote: > How can a repo be monitored for commits on all branches? > > I know how to ask a given branch: do you have any commits after foo_hash? > > How do I: > > * get a list of all commits since foo_hash > git log $hash..HEAD will list all the commits on the branch. Between branches 'since' has little to no meaning. * know which branch each of those commits was on (e.g. master, > branches/2020Q4) > You need to know which branches are interesting. There are some git log options... --date-order might help since dates are weird in git... All of this is a consequence of git being distributed. Warner Thanks. > > -- > Dan Langille - BSDCan / PGCon > dan@langille.org > > > _______________________________________________ > freebsd-git@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-git > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" >