Skip to content

Commit

Permalink
Don't repeat the pkg-config line
Browse files Browse the repository at this point in the history
This is only needed once per package. Having it on every file makes the
build system ask about it n times, which is silly.
  • Loading branch information
carlosmn committed Nov 13, 2013
1 parent b5b891a commit a5ad8de
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion blob.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion checkout.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
git_checkout_opts git_checkout_opts_init() {
git_checkout_opts ret = GIT_CHECKOUT_OPTS_INIT;
Expand Down
1 change: 0 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion index.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion object.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion odb.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
Expand Down
1 change: 0 additions & 1 deletion packbuilder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
#include <git2/pack.h>
Expand Down
1 change: 0 additions & 1 deletion reference.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion repository.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down
1 change: 0 additions & 1 deletion submodule.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
Expand Down
1 change: 0 additions & 1 deletion walk.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package git

/*
#cgo pkg-config: libgit2
#include <git2.h>
#include <git2/errors.h>
*/
Expand Down

0 comments on commit a5ad8de

Please sign in to comment.