git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems using perl's Git.pm module
@ 2010-12-02 11:40 Josef Wolf
  2010-12-02 13:23 ` Ævar Arnfjörð Bjarmason
  2010-12-02 17:51 ` Junio C Hamano
  0 siblings, 2 replies; 19+ messages in thread
From: Josef Wolf @ 2010-12-02 11:40 UTC (permalink / raw)
  To: git

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?

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-12-03  9:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 11:40 Problems using perl's Git.pm module Josef Wolf
2010-12-02 13:23 ` Æ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

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).