Skip to content

Commit

Permalink
Add docs for ":shallow"
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinAwardWinner committed Feb 12, 2012
1 parent 6f0c9d9 commit 771d5cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion el-get-custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,14 @@ definition provided by `el-get' recipes locally.
Currently this property only has meaning for `git' type
recipes. Other VCS-based methods may implement support in the
future.
:shallow
If set to t in a git recipe, git-clone will be run with
`--depth 1', which will create a so-called shallow clone by
not downloading all the history of the repository. The
default is controlled by the variable
`el-get-git-shallow-clone', which is nil by default.
"
:group 'el-get
:type
Expand Down Expand Up @@ -399,7 +407,9 @@ this is the name to fetch in that system"
(const :format "" :before) (function :format "%v"))
(group :inline t
:format "`After' Function (`Post-Init' recommended instead): %v"
(const :format "" :after) (function :format "%v")))
(const :format "" :after) (function :format "%v"))
;; TODO: `:checksum', `:checkout', `:shallow'
)
(repeat
:inline t :tag "System-Specific Build Recipes"
(group :inline t
Expand Down
1 change: 1 addition & 0 deletions el-get.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
;; - implement :checksum property for http kinds of files
;; - Add new command el-get-reinstall
;; - implement :checkout property for git packages
;; - implement :shallow property for git packages
;;
;; 3.1 - 2011-09-15 - Get a fix
;;
Expand Down

0 comments on commit 771d5cd

Please sign in to comment.