Commit:703782163ddb653789c304e396eadb31f541864f
Author:Pieter de Bie
Date:10 months ago
PBChangedFile: Add assert to make sure we're not doing something stupid
Commit:0d8ba8c2632e129fe7627f86d907c8b470c1bf20
Author:Pieter de Bie
Date:1 year, 1 month ago
Rename 'CachedChanges" to "StagedChanges" for greater consistency
Commit:f9ff15cc6bf3c807425321581002f676985dd222
Author:Pieter de Bie
Date:1 year, 1 month ago
PBChangedFile: remove shouldBeDeleted boolean
We don't need this anymore
Commit:8d729dae4cc8d3b564d149d6c9bb96922ee1bafa
Author:Pieter de Bie
Date:1 year, 6 months ago
CommitView: Don't change selection when refreshing
We used to read in a completely new array when refreshing the index. The problem with this is that the selection changes when reading in the new array. We avoid this by changing the current array, rather than loading in a completely new one.
Commit:0975426f2f5119335c00768006b1ede0252ac448
Author:Pieter de Bie
Date:2 years, 7 months ago
CommitView: move index functions to separate controller
This merges functionality that was previously stored in the combination of PBGitCommitController / PBChangedFile to a dedicated controller, PBGitIndexController.
Commit:1d19bd64dfa83def18d5271c9afef9300ef0d65e
Author:Pieter de Bie
Date:2 years, 8 months ago
PBChangedFile: Don't use cat to read file contents
This changes PBChangedFile to read in files by using NSString's stringWithContentsOfFile: method. It still uses the UTF8 encoding scheme so that we can capture binary files. This should perhaps be loosened to also allow other encodings.
Commit:472d36c7f970d9f3dbda3b9d7c8a7d51546bda56
Author:Pieter de Bie
Date:2 years, 8 months ago
CommitView: Add context menu to revert changes
Commit:e659e63fc08ecd46cc1c26b6260126502ec656aa
Author:Pieter de Bie
Date:2 years, 8 months ago
CommitView: Add option to amend commits
Commit:5010511bdb358ad376fd4668368bc5c12d9d8214
Author:Pieter de Bie
Date:2 years, 8 months ago
CommitView: Always use a single PBChangedFile object
This makes sure we don't add a double object to our array, if a file has both cached and unstaged changes.
Commit:a0f248ef9f50a3af0efebdfb29c706bd97011a97
Author:Pieter de Bie
Date:2 years, 8 months ago
CommitView: Also show deleted files correctly
Commit:001b6bf10eeaaf618971bc079e7415690c4c8d1a
Author:Pieter de Bie
Date:2 years, 9 months ago
CommitView: Handle new files better
This fixes the 'cat' command that was acting up and also shows information when a file could not be displayed
Commit:aafc284eb8fbd69acf40acfef07e25f409a87a18
Author:Pieter de Bie
Date:2 years, 9 months ago
ChangedFile: add a path separator to reset command
Sometimes a file could not be reset because it contained weird characters. This hopefully fixes it.
Commit:76e176e8b4ac59438340b129874ffbdfa7404ea3
Author:Pieter de Bie
Date:2 years, 9 months ago
Add staging and unstaging of files
Commit:9b3909e7592d3c8648accb67642a2b57a441f128
Author:Pieter de Bie
Date:2 years, 9 months ago
CommitView: Add a status bar to the diff view
Commit:44009b6f3e7e6fc5b54910c2b2a9a54b13f95a14
Author:Pieter de Bie
Date:2 years, 9 months ago
CommitView: use only one array for all files
Commit:252796ee26ce733c4a6d3044e3142f9ee5df005e
Author:Pieter de Bie
Date:2 years, 9 months ago
CommitView: Show basic files