Commit ecae6f4
feat: avoid updating gist if content and title are unchanged
Check existing gist content before updating to prevent unnecessary
revisions in gist history when content hasn't actually changed.
- Fetch current gist content using GitHub API
- Compare both content and title with new values
- Skip update if identical and log message
- Return boolean to indicate whether update occurred
Fixes #8
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: aksh1618 <[email protected]>1 parent 2cd3cba commit ecae6f4
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
215 | 222 | | |
216 | 223 | | |
| 224 | + | |
217 | 225 | | |
218 | 226 | | |
219 | 227 | | |
| |||
0 commit comments