List for cgit developers and users
 help / color / mirror / Atom feed
From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: [PATCH 1/1] scan-tree: handle error in git_config_from_file()
Date: Tue, 8 Mar 2016 15:05:37 +0100	[thread overview]
Message-ID: <CAHmME9oTRt20pn77wr8DVqs8-ZQeZiHG4nFKh42ATZJRyf18Sg@mail.gmail.com> (raw)
In-Reply-To: <1457445106-17365-1-git-send-email-list@eworm.de>

Are repos without .git/config necessarily invalid?

zx2c4 at thinkpad ~ $ mkdir abcd
zx2c4 at thinkpad ~ $ cd abcd
zx2c4 at thinkpad ~/abcd $ git init
Initialized empty Git repository in /home/zx2c4/abcd/.git/
zx2c4 at thinkpad ~/abcd $ touch file
zx2c4 at thinkpad ~/abcd $ git add file
zx2c4 at thinkpad ~/abcd $ git commit -m first
[master (root-commit) 55749f6] first
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file
zx2c4 at thinkpad ~/abcd $ rm .git/config
zx2c4 at thinkpad ~/abcd $ git status
On branch master
nothing to commit, working directory clean


  reply	other threads:[~2016-03-08 14:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 13:51 list
2016-03-08 14:05 ` Jason [this message]
2016-03-08 14:11 ` john
2016-03-08 14:26   ` list
2016-03-08 14:36     ` john
2016-03-08 14:54       ` list
2016-03-08 14:59         ` john
2016-03-08 15:01           ` list
2016-03-08 15:05             ` john
2016-03-08 15:08             ` list
2016-03-09 10:16 ` [PATCH v2 " list
2016-03-09 11:05   ` Jason
2016-03-11  7:49     ` list

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=CAHmME9oTRt20pn77wr8DVqs8-ZQeZiHG4nFKh42ATZJRyf18Sg@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /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 NNTP newsgroup(s).