You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potential example issue in add-and-commit.js L45-48 #409
Should l45 be removed? They feel redundant, and in the case that you're working with a subdirectory and similarly named files (like index.html), it's possible that this code could actually add two different fles to the index...
That's an interesting point, I hadn't noticed that before. I'd be inclined to agree that 45 should be removed. Have you tested that it still works as expected with it gone?
Activity
tbranyen commentedon Feb 16, 2015
That's an interesting point, I hadn't noticed that before. I'd be inclined to agree that 45 should be removed. Have you tested that it still works as expected with it gone?
jeffwilcox commentedon Feb 16, 2015
I haven't tested that way, as I'm actually not able to get file adds to work at all right now in my local development environment.
I suspect user error on my part
johnhaley81 commentedon Feb 17, 2015
That's committing 2 different files (and I can see how that would be hard to notice).
I'll modify the example so that it's more clear.
jeffwilcox commentedon Feb 17, 2015
Got it... thx.