From: Josef Wolf <jw@raven.inka.de>
To: git@vger.kernel.org
Subject: Problems using perl's Git.pm module
Date: Thu, 2 Dec 2010 12:40:03 +0100 [thread overview]
Message-ID: <20101202114003.GA26070@raven.wolf.lan> (raw)
Hello folks,
I am trying to use perl's Git.pm module, but for some reason, it keeps
bailing out:
jw@raven:~/testrepos> git st
# On branch master
nothing to commit (working directory clean)
jw@raven:~/testrepos> ./test.pl
# On branch master
nothing to commit (working directory clean)
status failed w/ code 1 at ./test.pl line 9
jw@raven:~/testrepos> cat test.pl
#! /usr/bin/perl
use strict;
use warnings;
use Git;
my $repo = Git->repository (Directory => '.');
git_cmd_try { $repo->command_noisy('status') }
'%s failed w/ code %d';
print "Never reach this line\n";
jw@raven:~/testrepos>
Any ideas why the status command keeps bailing out on an entire clean
repository?
next reply other threads:[~2010-12-02 12:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 11:40 Josef Wolf [this message]
2010-12-02 13:23 ` Problems using perl's Git.pm module Ævar Arnfjörð Bjarmason
2010-12-02 16:19 ` Jonathan Nieder
2010-12-02 17:30 ` Ævar Arnfjörð Bjarmason
2010-12-02 17:46 ` Junio C Hamano
2010-12-02 18:10 ` demerphq
2010-12-02 18:14 ` Jonathan Nieder
2010-12-02 18:41 ` demerphq
2010-12-02 19:05 ` [RFC/PATCH] Git.pm: discourage casual use Jonathan Nieder
2010-12-02 19:30 ` Junio C Hamano
2010-12-02 19:45 ` Jonathan Nieder
2010-12-03 8:38 ` Problems using perl's Git.pm module Josef Wolf
2010-12-03 9:02 ` demerphq
2010-12-02 18:18 ` Junio C Hamano
2010-12-02 18:32 ` demerphq
2010-12-03 8:27 ` Josef Wolf
2010-12-03 9:10 ` Jonathan Nieder
2010-12-02 17:51 ` Junio C Hamano
2010-12-03 8:14 ` Josef Wolf
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=20101202114003.GA26070@raven.wolf.lan \
--to=jw@raven.inka.de \
--cc=git@vger.kernel.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 NNTP newsgroup(s).