public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH][pushed] contrib: remove extra fetch from git_update_version
Date: Fri, 7 Oct 2022 11:36:24 +0200	[thread overview]
Message-ID: <22713979-9a16-d42d-8fd4-615131d42ddb@suse.cz> (raw)

Remove extra fetch call that didn't help with the issue
we had (missing object).

contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Remove extra fetch.
---
  contrib/gcc-changelog/git_update_version.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index 36995d2520b..074e717d610 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -135,7 +135,7 @@ def update_current_branch(ref_name):
              repo.git.add(datestamp_path)
              if not args.current:
                  repo.index.commit('Daily bump.')
-                origin.fetch()
+                logging.info('commit is done')
                  if args.push:
                      try:
                          repo.git.push('origin', branch)
-- 
2.37.3


                 reply	other threads:[~2022-10-07  9:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22713979-9a16-d42d-8fd4-615131d42ddb@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).