Pieter de Bie
0975426f2f
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.
2008-11-18 23:59:25 +01:00
Pieter de Bie
1d19bd64df
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.
2008-10-29 00:49:47 +01:00
Pieter de Bie
472d36c7f9
CommitView: Add context menu to revert changes
2008-10-10 21:59:23 +02:00
Pieter de Bie
e659e63fc0
CommitView: Add option to amend commits
2008-10-10 21:59:23 +02:00
Pieter de Bie
5010511bdb
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.
2008-10-10 21:59:23 +02:00
Pieter de Bie
a0f248ef9f
CommitView: Also show deleted files correctly
2008-10-03 18:06:57 +02:00
Pieter de Bie
001b6bf10e
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
2008-09-25 23:45:14 +02:00
Pieter de Bie
aafc284eb8
ChangedFile: add a path separator to reset command
...
Sometimes a file could not be reset because it contained weird characters.
This hopefully fixes it.
2008-09-24 17:33:19 +02:00
Pieter de Bie
76e176e8b4
Add staging and unstaging of files
2008-09-24 00:47:41 +02:00
Pieter de Bie
9b3909e759
CommitView: Add a status bar to the diff view
2008-09-23 21:51:20 +02:00
Pieter de Bie
44009b6f3e
CommitView: use only one array for all files
2008-09-23 02:04:12 +02:00
Pieter de Bie
252796ee26
CommitView: Show basic files
2008-09-23 01:02:33 +02:00