14 Commits

Author SHA1 Message Date
Nathan Kinsinger 17f50e3f7e Add --init and --clone to gitx CLI and Applescript
Allows creating repositories from the command line, Applescript, or the scripting bridge. These are basic commands, if you need to use commandline options then use git itself.
2010-09-12 19:32:26 -06:00
Benjamin Kramer 6dcefe5bec Fix many gcc 4.2 compiler warnings 2009-05-18 23:08:51 +01:00
Nick Zitzmann 8a6d55dbfe Add a "New..." option to the Main Menu to create a local
repository
2009-03-24 00:36:46 +00:00
Pieter de Bie 2cb0a37af5 Make a document the active window if it already exists 2009-01-25 15:14:57 +00:00
Pieter de Bie 86606ef815 Add a --commit option to the CLI client
This changes a lot of code, so quick review:

* RepositoryDocumentController now returns the document without selecting a ref
* PBGitWindowController now optionally shows the default view, or selects no view at all
* PBGitRepository keeps a pointer to its WindowController so that it can change views
2008-09-26 23:22:15 +02:00
Pieter de Bie ef6b506dc7 Check if a repository is valid 2008-09-20 12:14:58 +02:00
Pieter de Bie 0617f11619 Select existing ref if it exists 2008-09-12 18:44:06 +02:00
Pieter de Bie 3c7a22ef56 Let the gitx CLI use our RevSpecification 2008-09-12 17:56:42 +02:00
Pieter de Bie 7b2efe1ac2 Change current document when called with different arguments 2008-09-12 14:47:06 +02:00
Pieter de Bie 42e8196e1f Pass on arguments from the command line to the revwalk mechanism 2008-09-12 13:18:05 +02:00
Pieter de Bie 4dde9f3095 Allow selection of .git directories in the modal dialog 2008-09-12 12:45:06 +02:00
Ciarán Walsh 12faa4a8f0 Avoid showing .git dirs in the recent documents menu.
Instead (for non-bare repos) add the directory above the .git dir.
2008-08-19 00:16:15 +02:00
Ciarán Walsh e015fd7be4 Overriding -documentForURL: to use +gitDirForURL: to convert incoming URLs to the .git dir before checking for an open document, so that open a repository from subdirectories won’t open duplicate windows. 2008-08-18 17:24:50 +01:00
Ciarán Walsh b85a205698 Completing the document-based app setup.
Multiple repositories can now be opened by using the File → Open… menu option.
Each document is a PBGitRepository with a PBDetailController controlling the window. PBRepositoryDocumentController is the document controller.
When launched, the application will attempt to open a repository with the current directory as its path. If this fails it will display an open panel to allow the user to select one.
2008-08-18 08:58:39 +01:00