1
0
mirror of https://github.com/danog/gift.git synced 2024-12-02 09:17:55 +01:00
Commit Graph

223 Commits

Author SHA1 Message Date
Eric O'Connell
4909d8375e Config, not Status 2013-10-05 15:51:12 -07:00
Eric O'Connell
7510aa1f71 update README 2013-10-05 15:40:33 -07:00
Eric O'Connell
9ef8c80096 Add basic support for reading git config 2013-10-05 15:29:34 -07:00
Sergey Kovalyov
0d951d75d4 Disable Git.clone() test
This test fails on Travis as cloning from GitHub requires accepting the
host authenticity, expects user input and eventually fails on timeout.
It makes sense to uncomment this test only locally.
2013-09-24 10:37:19 +02:00
Sergey Kovalyov
b71c18f93e Git.init() extended with bare parameter
* When bare parameter is set to true, bare repository is initialized.
* Tests added for bare and non-bare initialization.
* Documentaiton updated.
2013-09-23 18:20:31 +02:00
Sergey Kovalyov
a197fe7ba0 Git.clone() added
* Wrapper for `git clone` command.
* Test added and custom 30000 timeout is set to it as cloning requires
quite some time.
* Documentation updated.
2013-09-23 18:19:19 +02:00
sentientwaffle
9503fc8208 bump to 0.0.6 2013-07-24 07:04:41 -07:00
Alexander Naspo
a14f5e8000 updated diff regex
regex now works with files that are escaped
with a newline character
2013-03-19 09:37:38 -04:00
Luke Plaster
8eafc1a18b Merge pull request #20 from notatestuser/everything-to-pull
Locked down the signature of Repo#sync
2013-03-17 10:05:16 -07:00
Luke Plaster
4b4c8030c8 locked down the signature of Repo#sync with unit tests and an accurate representation in the README 2013-03-17 17:00:40 +00:00
Luke Plaster
f8ca06ef29 Merge pull request #19 from notatestuser/everything-to-pull
A neat assortment of non-breaking new stuff from @notatestuser and @drevilt
2013-03-17 08:53:19 -07:00
Luke Plaster
eed147cdc5 [README] #sync 2013-03-17 15:44:20 +00:00
Luke Plaster
cf01b461d4 [README] #remote_remove and #remote_push 2013-03-17 15:38:44 +00:00
Luke Plaster
3afe421d38 [README] #status, #identity and #identify 2013-03-17 15:35:37 +00:00
Luke Plaster
1846098db7 for Travis: make use of Repo#identify to ensure that our repository has an identity set when running the #create_tag test 2013-03-17 15:21:02 +00:00
Luke Plaster
dd96ffd5d1 [README] amended 'npm install' line to reference this fork's own tarball 2013-03-15 00:10:17 +00:00
Luke Plaster
2ece84faf6 added Repo#identity and Repo#identify with a unit test 2013-03-14 23:27:37 +00:00
Luke Plaster
9d56103693 use the locally-installed copy of coffee-script when 'npm test'ing 2013-03-14 18:50:38 +00:00
Luke Plaster
d2c2cc530a Merge pull request #2 from drevilt/master
mocha and coffeescript version bump
2013-03-14 11:45:56 -07:00
Daniel Nagy
016c8da273 mocha and coffeescript version bump 2013-03-14 18:13:44 +00:00
Luke Plaster
92972683cb [test fix] pass a properly formed octal to fs.mkdir 2013-03-13 21:40:41 +00:00
Luke Plaster
ca3753b5fc Merge pull request #1 from drevilt/master
Thanks. Merged.
2013-03-13 14:23:25 -07:00
Daniel Nagy
bc3f389ee6 fix unittests 2013-03-13 21:24:57 +00:00
Daniel Nagy
c905ba05e2 improve status parsing 2013-03-13 01:39:05 +00:00
luke
f9abf4b277 Repo#sync restructured to make sure a 'stash pop' is never attempted if there was nothing to stash in the first place 2013-03-12 18:21:24 +00:00
luke
334417ea34 added Repo#remote_remove(name, callback) 2013-03-12 16:05:10 +00:00
luke
d2ccc6e406 added Repo#remote_push(name, callback) 2013-03-12 12:17:17 +00:00
luke
18952cdb12 a remote_name may now be specified as the first argument of a call to sync(); it defaults to 'origin' if not provided - the previous API has been preserved 2013-03-12 12:11:59 +00:00
feugy
97042f561c Do compilation after installing 2012-10-27 21:56:54 +02:00
feugy
5af25bcf17 Use binary encoding for child_process.exec(): it allows to retrieve binary
files content from history.
2012-09-26 08:17:47 +02:00
feugy
c20c50b6b3 git.refs: ignore error code 1 which means that no refs are available. 2012-09-17 08:25:18 +02:00
feugy
604528980e Status: take new files in account with type 'N'
Repo.add: allow option usage to specify --all
2012-09-15 12:36:47 +02:00
feugy
157e076125 Tree: fix find when searching inside trees. 2012-09-15 11:59:24 +02:00
feugy
bfddb70e61 Fix commit tree and add test on tree content 2012-09-15 10:49:39 +02:00
feugy
3adb0463b2 Merge tries to fix endings 2012-09-15 10:01:35 +02:00
feugy
16754a1ab3 Try#2: Fix ending problems that corruptes the remotes fixture repository 2012-09-15 09:58:32 +02:00
feugy
3e966bc8d5 Fix ending problems that corruptes the remotes fixture repository 2012-09-15 09:49:35 +02:00
feugy
6fb57d68c7 - Repo.commit: possibility to specify author 2012-09-14 09:42:31 +02:00
feugy
1ed508199f - Repo.commit: send stdout/stderr to callback lile other methods
- Tests: use a working 'remotes' fixture. Old one was broken.
- Tests: use chai instead of should: same API, but work properly on Date:
  https://github.com/visionmedia/should.js/pull/56
- Tests: use rimraf instead of executing "rm -rf": allow to work on windows
- Tests: configure mocha to execute coffee-script with --compilers option
2012-09-14 09:12:26 +02:00
djg
80b4f47883 Merge pull request #4 from yuest/master
resolved two bugs
2012-05-01 07:51:57 -07:00
Yuest Wang
d419912f4f repo#sync default 2012-04-29 20:31:54 +08:00
Yuest Wang
fbb3f3943b two bugs: repo#commit's optional options parameter and repo#sync's required branch parameter 2012-04-29 19:36:05 +08:00
sentientwaffle
6b759b7fbf Merge branch 'master' of github.com:sentientwaffle/gift 2012-04-25 11:14:30 -06:00
djg
aacfe2ab61 Merge pull request #2 from danielmahon/master
Added git merge method
2012-04-25 10:14:35 -07:00
sentientwaffle
75114c5ea7 dont test node 0.7 with travis 2012-04-25 11:12:55 -06:00
Daniel Mahon
248a787083 fixed typo 2012-04-21 21:01:36 -04:00
Daniel Mahon
ba92cfb965 Merge remote-tracking branch 'gift/master' 2012-04-21 20:54:30 -04:00
Daniel Mahon
fb449539f5 Added merge method 2012-04-21 20:37:48 -04:00
sentientwaffle
133f556308 change all status messages to arrays 2012-03-23 18:54:55 -06:00
sentientwaffle
a92e358f21 bump 2012-03-23 13:11:55 -06:00