Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aksh1618/codestats-box-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: aksh1618/codestats-box-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: skip-gist-update-if-no-change
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on May 21, 2025

  1. I've made an improvement to the Gist update process.

    I've modified the `update_gist` function to fetch the current Gist content and compare it with the new content before performing an update.
    
    If the content is identical, the update is skipped, and a message is printed to the console. This prevents creating empty revisions in the Gist history when the stats have not changed.
    
    I've also added unit tests to verify the new behavior, ensuring that the Gist is updated only when the content has actually changed.
    google-labs-jules[bot] committed May 21, 2025
    Configuration menu
    Copy the full SHA
    0dc3edc View commit details
    Browse the repository at this point in the history
Loading