Commit c0c5e05
Fix remote name detection function
Addresses review feedback on PR Bash-it#2318:
- Rename function to _get-git-default-remote-name (dash naming convention)
- Scope function to operate on BASH_IT directory, not CWD
- Add command prefix to git commands for safety
Original implementation by Edwin Kofler (@hyperupcall)
Co-Authored-By: Edwin Kofler <edwin@kofler.dev>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f106333 commit c0c5e05
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
1237 | 1239 | | |
1238 | | - | |
| 1240 | + | |
1239 | 1241 | | |
1240 | 1242 | | |
1241 | | - | |
| 1243 | + | |
1242 | 1244 | | |
1243 | 1245 | | |
| 1246 | + | |
1244 | 1247 | | |
1245 | 1248 | | |
1246 | 1249 | | |
1247 | | - | |
| 1250 | + | |
1248 | 1251 | | |
1249 | 1252 | | |
1250 | 1253 | | |
1251 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
1252 | 1257 | | |
1253 | 1258 | | |
1254 | 1259 | | |
| |||
0 commit comments