Title: How to check count of changed files to avoid empty commits · Issue #1976 · nodegit/nodegit · GitHub
Open Graph Title: How to check count of changed files to avoid empty commits · Issue #1976 · nodegit/nodegit
X Title: How to check count of changed files to avoid empty commits · Issue #1976 · nodegit/nodegit
Description: System information node version: v14.15.3 npm or yarn version: npm 6.14.9 OS/version/architecture: WIndows 10 Applicable nodegit version: ^0.26.1 node -v npm -v # (or yarn -v) node -e "console.log(process.platform)" node -e "console.log(...
Open Graph Description: System information node version: v14.15.3 npm or yarn version: npm 6.14.9 OS/version/architecture: WIndows 10 Applicable nodegit version: ^0.26.1 node -v npm -v # (or yarn -v) node -e "console.log(...
X Description: System information node version: v14.15.3 npm or yarn version: npm 6.14.9 OS/version/architecture: WIndows 10 Applicable nodegit version: ^0.26.1 node -v npm -v # (or yarn -v) node -e "console...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1976
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to check count of changed files to avoid empty commits","articleBody":"## System information\r\n - node version: v14.15.3\r\n - npm or yarn version: npm 6.14.9\r\n - OS/version/architecture: WIndows 10\r\n - Applicable nodegit version: ^0.26.1\r\n\r\n```\r\nnode -v\r\nnpm -v # (or yarn -v)\r\nnode -e \"console.log(process.platform)\"\r\nnode -e \"console.log(require('os').release())\"\r\nnode -e \"console.log(console.log(process.arch))\"\r\n```\r\n\r\ntrying to get number of files to avoid empty commits using entryCount(), but it is returning a number > 0 even if there is no file to commit\r\n\r\nSO https://stackoverflow.com/questions/75755796/nodegit-avoid-creating-empty-commit-nodejs-bitbucket\r\n\r\nany help?\r\n\r\n","author":{"url":"https://github.com/paxcom-sgarg","@type":"Person","name":"paxcom-sgarg"},"datePublished":"2023-03-21T08:44:55Z","url":"https://github.com/nodegit/nodegit/issues/1976"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52bef3fd-8e31-4e2a-901b-672ead113999 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B48C:1CAEF:22AD18:32550A:6AFD782D |
| html-safe-nonce | 05a4cbd6a4dcb46dcf0d2699541627b44b330b26e3f4502469f11d16b6da8069 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDhDOjFDQUVGOjIyQUQxODozMjU1MEE6NkFGRDc4MkQiLCJ2aXNpdG9yX2lkIjoiMzg0NDc5NTkxNDE4NzAxMjE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a16f5bb053d7b0a09c5793ee38ecffe01e0a5cbb111d6c516773249be9fe40f6 |
| hovercard-subject-tag | issue:1633448701 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/1976/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b508775ce608d129341cfe44f41202a7df1e9572e5d685363e113e183798358a/nodegit/nodegit/issues/1976 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b508775ce608d129341cfe44f41202a7df1e9572e5d685363e113e183798358a/nodegit/nodegit/issues/1976 |
| og:image:alt | System information node version: v14.15.3 npm or yarn version: npm 6.14.9 OS/version/architecture: WIndows 10 Applicable nodegit version: ^0.26.1 node -v npm -v # (or yarn -v) node -e "console.log(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paxcom-sgarg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width