1
0
mirror of https://github.com/danog/gift.git synced 2024-11-30 04:19:37 +01:00
Commit Graph

107 Commits

Author SHA1 Message Date
James McGill
b609d3d77b Add force delete (#97) 2017-08-25 07:44:31 -05:00
Luke Plaster
980ddcb658 Merge branch 'master' into develop
* master:
  support shallow clone a repo on a specific branch. (#91)
2016-11-12 22:09:17 +08:00
Junil Kim
76002ca549 support shallow clone a repo on a specific branch. (#91)
ex) git clone <git-url> --depth 1 --branch <name>
2016-11-02 10:11:48 +08:00
Luke Plaster
155c6f7d6a src/repo: fixed single argument form of ls_files 2016-09-02 13:47:20 +08:00
Luke Plaster
63aac64604 docs: the options arg in ls_files is not optional for now 2016-07-06 15:07:41 +08:00
Luke Plaster
fbc63ff214 Use arguments.length to support prior calls to ls_files (#83) 2016-07-06 14:50:42 +08:00
Hiroyuki Tanjo
951ba4c0b2 Support file arguments for ls-files 2016-07-06 14:40:38 +08:00
cjbarth
cced2057ea Add support to describe a commit (#88) 2016-07-05 12:04:16 +08:00
Luke Plaster
0a74d63858 Merge remote-tracking branch 'ajcrites/remote-options' 2016-05-12 11:41:44 +08:00
Martin Kolárik
687feb770e Fix the order of arguments in git.cmd() (#86) 2016-04-28 10:40:20 +08:00
Louis De Bevere
d6ed167156 Pass options to git checkout 2016-03-09 11:53:54 +01:00
Luke Plaster
ab4de6660f Maintaining backward compatibility in clone() signature 2015-11-16 19:18:42 +08:00
Peter Dave Hello
d099f2fab2 Support git's shallow clone 2015-11-16 15:18:22 +08:00
Luke Plaster
e414fc518d Quoted params in clone bash. see #58 2015-11-16 14:23:52 +08:00
Gord Tanner
73376e4c28 Handle HG:Extra lines in commit parsing
There is a chance that a commit has N number of HG: lines in a commit.

see: https://github.com/mozilla/addon-sdk

This will filter those lines out so parsing still works
2015-10-05 16:20:22 -04:00
Gord Tanner
caddd229b3 Add a public override for the maxBuffer option
- add maxBuffer property to index module
- allow passing of maxBuffer to the git object via git_options
- pass the index maxBuffer along with the git_options
2015-09-25 15:24:05 -04:00
Luke Plaster
6958dd5181 Removed redundant if guard in hg gpg garbage removal 2015-06-30 11:37:52 +02:00
Connor Turland
524383b336 handle hg converted gpg lines
running parse_commits if it included commits converted from mercurial kiln repositories would fail
we can see this in git@github.com:somecallmechief/oj.git by running
git rev-list 07bba --pretty=raw --max-count=1
2015-05-01 10:34:30 -04:00
Luke Plaster
a253157cea Merge remote-tracking branch 'BastienLQ/master'
* BastienLQ/master:
  set 'utf8' encoding as default

Conflicts:
	src/git.coffee

Closes #55
2015-04-14 23:12:10 +02:00
serialworm
dd2ff8027a Adjusted maxBuffer sent to exec for large repos 2015-02-25 13:18:45 -06:00
Bastien Le Querrec
08690dba32 set 'utf8' encoding as default
'binary' is used only when needed
fix: https://github.com/notatestuser/gift/issues/51
2015-02-22 19:23:09 +01:00
eytan
fdc83998c8 enable specify git binary location along with other options in the constructor
Conflicts:
	src/git.coffee

cc #49
cc sentientwaffle/gift#32
2014-12-26 23:01:35 +00:00
Luke Plaster
808545151e Removed a console.log 2014-11-17 21:22:25 +01:00
Luke Plaster
6a59036f18 Merge pull request #45 from 007design/master
add optional arguments/options to status command
2014-11-17 21:21:39 +01:00
Luke Plaster
4c600dfa4b Added Repo#remote_set_url
closes #32
cc #47
2014-11-17 18:35:46 +01:00
Eric Salter
a42792cf5c add support for git clean
Add passthrough support for git clean + tests
2014-11-16 22:05:52 -05:00
Brian Partridge
1209a68a34 Deleting a remote URL (git remote set-url --delete...) 2014-11-05 12:06:56 -08:00
Brian Partridge
52f70dd377 Adding support for "remote set-url" 2014-11-05 12:02:26 -08:00
Daniel Hinds-Bond
a4f691afe1 add options to status 2014-10-06 08:40:06 -05:00
Daniel Hinds-Bond
da23cc0f60 add -u flag to list files in untracked directories 2014-10-03 09:56:16 -05:00
Luke Plaster
03a024e7a3 Merge pull request #33 from shaoshing/no-branch
Fix error when getting the current branch but it is checked out to a commit
2014-08-21 17:48:43 +02:00
Andrew Crites
06bacc9217 Allow options to be specified for fetch, push, and merge operations
This minimally allows for force fetch and push
2014-07-30 11:44:28 -04:00
Shaoshing
d85f686d38 Fix test: return error when the current branch check out to a commit. 2014-07-07 17:45:05 -04:00
Maximilian Schüßler
e4557ffc39 Remove trailing whitespaces 2014-06-20 02:08:29 +02:00
Maximilian Schüßler
9ba1cd513d 📝 2014-06-19 21:37:16 +02:00
Maximilian Schüßler
245011f0b2 Fix missing () 2014-06-19 21:25:03 +02:00
Maximilian Schüßler
b936392ab1 Typo 2014-06-19 19:45:55 +02:00
Maximilian Schüßler
cee0e3aeb0 Add repo.reset 2014-06-19 19:04:22 +02:00
Maximilian Schüßler
b1d4cdfd59 Add repo.checkoutFile 2014-06-19 18:27:38 +02:00
Luke Plaster
e6df0910bc Merge pull request #28 from pose/push-branch-support
Adding branch parameter to repo.remote_push
2014-06-08 13:23:53 +02:00
Luke Plaster
5fcea7fbbd Merge pull request #20 from Lance0312/pr
Support gpgsig parsing and some extra fixes
2014-06-06 14:53:15 +02:00
Alberto Pose
1c1950793c Adding branch parameter to repo.remote_push 2014-05-18 00:05:24 -03:00
Luke Plaster
76ecdd8632 Merge pull request #21 from Mrono/master
Added pull only function
2014-05-14 11:53:21 +02:00
Luke Plaster
308cc6a7d1 Merge pull request #22 from Mrono/betterSyncMessages
More informative sync error messages
2014-04-27 21:34:27 +02:00
Sam Bleckley
0b202d10dc Fixes arguments.slice bug in Repo.diff().
The variable `arguments` is not an array, and does not have a slice method.
2014-04-27 09:58:47 -04:00
Maxime Thirouin
6463c25ea8 Add git rm options 2014-04-16 07:21:11 +02:00
Michael James
f526b42271 More informative sync error messages
Signed-off-by: Michael James <mjames@fiber.net>
2014-04-10 13:09:30 -06:00
Mike
deecf9bf86 Added stderr to callback 2014-04-10 12:59:31 -06:00
Mike
6cf8d21fbb Added strict pull function 2014-04-10 12:57:21 -06:00
Lance Chen
6817011807 Fix unknown property 'first'
I can't find the 'first' property anywhere,
though it does not cause any problem.

Signed-off-by: Lance Chen <cyen0312@gmail.com>
2014-04-07 04:22:31 +08:00