/[gentoo-x86]/eclass/git-2.eclass
Gentoo

Diff of /eclass/git-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 Revision 1.31
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.18 2011/09/23 13:57:28 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.31 2013/09/05 20:39:41 mgorny Exp $
4 4
5# @ECLASS: git-2.eclass 5# @ECLASS: git-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Michał Górny <mgorny@gentoo.org>
7# Donnie Berkholz <dberkholz@gentoo.org> 8# Donnie Berkholz <dberkholz@gentoo.org>
8# @BLURB: Eclass for fetching and unpacking git repositories. 9# @BLURB: Eclass for fetching and unpacking git repositories.
9# @DESCRIPTION: 10# @DESCRIPTION:
10# Eclass for easing maitenance of live ebuilds using git as remote repository. 11# Eclass for easing maitenance of live ebuilds using git as remote repository.
11# Eclass support working with git submodules and branching. 12# Eclass support working with git submodules and branching.
13
14# @ECLASS-VARIABLE: EGIT_USE_GIT_R3
15# @DEFAULT_UNSET
16# @DESCRIPTION:
17# Use git-r3 backend instead of classic git-2 behavior. This is intended
18# for early testing of git-r3 and is to be set in make.conf.
19
20if [[ ${EGIT_USE_GIT_R3} ]]; then
21 inherit git-r3
22fi
12 23
13# This eclass support all EAPIs 24# This eclass support all EAPIs
14EXPORT_FUNCTIONS src_unpack 25EXPORT_FUNCTIONS src_unpack
15 26
16DEPEND="dev-vcs/git" 27DEPEND="dev-vcs/git"
66# @DEFAULT_UNSET 77# @DEFAULT_UNSET
67# @DESCRIPTION: 78# @DESCRIPTION:
68# URI for the repository 79# URI for the repository
69# e.g. http://foo, git://bar 80# e.g. http://foo, git://bar
70# 81#
82# It can be overriden via env using packagename_LIVE_REPO
83# variable.
84#
71# Support multiple values: 85# Support multiple values:
72# EGIT_REPO_URI="git://a/b.git http://c/d.git" 86# EGIT_REPO_URI="git://a/b.git http://c/d.git"
73 87
74# @ECLASS-VARIABLE: EVCS_OFFLINE 88# @ECLASS-VARIABLE: EVCS_OFFLINE
75# @DEFAULT_UNSET 89# @DEFAULT_UNSET
118# @DESCRIPTION: 132# @DESCRIPTION:
119# If non-empty this variable bans unpacking of ${A} content into the srcdir. 133# If non-empty this variable bans unpacking of ${A} content into the srcdir.
120# Default behaviour is to unpack ${A} content. 134# Default behaviour is to unpack ${A} content.
121 135
122# @FUNCTION: git-2_init_variables 136# @FUNCTION: git-2_init_variables
137# @INTERNAL
123# @DESCRIPTION: 138# @DESCRIPTION:
124# Internal function initializing all git variables. 139# Internal function initializing all git variables.
125# We define it in function scope so user can define 140# We define it in function scope so user can define
126# all the variables before and after inherit. 141# all the variables before and after inherit.
127git-2_init_variables() { 142git-2_init_variables() {
158 173
159 : ${EGIT_PRUNE:=} 174 : ${EGIT_PRUNE:=}
160} 175}
161 176
162# @FUNCTION: git-2_submodules 177# @FUNCTION: git-2_submodules
178# @INTERNAL
163# @DESCRIPTION: 179# @DESCRIPTION:
164# Internal function wrapping the submodule initialisation and update. 180# Internal function wrapping the submodule initialisation and update.
165git-2_submodules() { 181git-2_submodules() {
166 debug-print-function ${FUNCNAME} "$@" 182 debug-print-function ${FUNCNAME} "$@"
167 if [[ ${EGIT_HAS_SUBMODULES} ]]; then 183 if [[ ${EGIT_HAS_SUBMODULES} ]]; then
184 popd > /dev/null 200 popd > /dev/null
185 fi 201 fi
186} 202}
187 203
188# @FUNCTION: git-2_branch 204# @FUNCTION: git-2_branch
205# @INTERNAL
189# @DESCRIPTION: 206# @DESCRIPTION:
190# Internal function that changes branch for the repo based on EGIT_COMMIT and 207# Internal function that changes branch for the repo based on EGIT_COMMIT and
191# EGIT_BRANCH variables. 208# EGIT_BRANCH variables.
192git-2_branch() { 209git-2_branch() {
193 debug-print-function ${FUNCNAME} "$@" 210 debug-print-function ${FUNCNAME} "$@"
208 225
209 popd > /dev/null 226 popd > /dev/null
210} 227}
211 228
212# @FUNCTION: git-2_gc 229# @FUNCTION: git-2_gc
230# @INTERNAL
213# @DESCRIPTION: 231# @DESCRIPTION:
214# Internal function running garbage collector on checked out tree. 232# Internal function running garbage collector on checked out tree.
215git-2_gc() { 233git-2_gc() {
216 debug-print-function ${FUNCNAME} "$@" 234 debug-print-function ${FUNCNAME} "$@"
217 235
218 local args 236 local args
219 237
220 pushd "${EGIT_DIR}" > /dev/null
221 if [[ ${EGIT_REPACK} || ${EGIT_PRUNE} ]]; then 238 if [[ ${EGIT_REPACK} || ${EGIT_PRUNE} ]]; then
239 pushd "${EGIT_DIR}" > /dev/null
222 ebegin "Garbage collecting the repository" 240 ebegin "Garbage collecting the repository"
223 [[ ${EGIT_PRUNE} ]] && args='--prune' 241 [[ ${EGIT_PRUNE} ]] && args='--prune'
224 debug-print "${FUNCNAME}: git gc ${args}" 242 debug-print "${FUNCNAME}: git gc ${args}"
225 git gc ${args} 243 git gc ${args}
226 eend $? 244 eend $?
227 fi
228 popd > /dev/null 245 popd > /dev/null
246 fi
229} 247}
230 248
231# @FUNCTION: git-2_prepare_storedir 249# @FUNCTION: git-2_prepare_storedir
250# @INTERNAL
232# @DESCRIPTION: 251# @DESCRIPTION:
233# Internal function preparing directory where we are going to store SCM 252# Internal function preparing directory where we are going to store SCM
234# repository. 253# repository.
235git-2_prepare_storedir() { 254git-2_prepare_storedir() {
236 debug-print-function ${FUNCNAME} "$@" 255 debug-print-function ${FUNCNAME} "$@"
240 # initial clone, we have to create master git storage directory and play 259 # initial clone, we have to create master git storage directory and play
241 # nicely with sandbox 260 # nicely with sandbox
242 if [[ ! -d ${EGIT_STORE_DIR} ]]; then 261 if [[ ! -d ${EGIT_STORE_DIR} ]]; then
243 debug-print "${FUNCNAME}: Creating git main storage directory" 262 debug-print "${FUNCNAME}: Creating git main storage directory"
244 addwrite / 263 addwrite /
245 mkdir -p "${EGIT_STORE_DIR}" \ 264 mkdir -m 775 -p "${EGIT_STORE_DIR}" \
246 || die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\"" 265 || die "${FUNCNAME}: can't mkdir \"${EGIT_STORE_DIR}\""
247 fi 266 fi
248 267
249 # allow writing into EGIT_STORE_DIR 268 # allow writing into EGIT_STORE_DIR
250 addwrite "${EGIT_STORE_DIR}" 269 addwrite "${EGIT_STORE_DIR}"
270
271 # calculate git.eclass store dir for data
272 # We will try to clone the old repository,
273 # and we will remove it if we don't need it anymore.
274 EGIT_OLD_CLONE=
275 if [[ ${EGIT_STORE_DIR} == */egit-src ]]; then
276 local old_store_dir=${EGIT_STORE_DIR/%egit-src/git-src}
277 local old_location=${old_store_dir}/${EGIT_PROJECT:-${PN}}
278
279 if [[ -d ${old_location} ]]; then
280 EGIT_OLD_CLONE=${old_location}
281 # required to remove the old clone
282 addwrite "${old_store_dir}"
283 fi
284 fi
285
251 # calculate the proper store dir for data 286 # calculate the proper store dir for data
252 # If user didn't specify the EGIT_DIR, we check if he did specify 287 # If user didn't specify the EGIT_DIR, we check if he did specify
253 # the EGIT_PROJECT or get the folder name from EGIT_REPO_URI. 288 # the EGIT_PROJECT or get the folder name from EGIT_REPO_URI.
254 EGIT_REPO_URI=${EGIT_REPO_URI%/} 289 EGIT_REPO_URI=${EGIT_REPO_URI%/}
255 if [[ ! ${EGIT_DIR} ]]; then 290 if [[ ! ${EGIT_DIR} ]]; then
256 if [[ ${EGIT_PROJECT} ]]; then 291 if [[ ${EGIT_PROJECT} ]]; then
257 clone_dir=${EGIT_PROJECT} 292 clone_dir=${EGIT_PROJECT}
258 else 293 else
259 clone_dir=${EGIT_REPO_URI##*/} 294 local strippeduri=${EGIT_REPO_URI%/.git}
295 clone_dir=${strippeduri##*/}
260 fi 296 fi
261 EGIT_DIR=${EGIT_STORE_DIR}/${clone_dir} 297 EGIT_DIR=${EGIT_STORE_DIR}/${clone_dir}
298
299 if [[ ${EGIT_OLD_CLONE} && ! -d ${EGIT_DIR} ]]; then
300 elog "${FUNCNAME}: ${CATEGORY}/${PF} will be cloned from old location."
301 elog "It will be necessary to rebuild the package to fetch updates."
302 EGIT_REPO_URI="${EGIT_OLD_CLONE} ${EGIT_REPO_URI}"
303 fi
262 fi 304 fi
263 export EGIT_DIR=${EGIT_DIR} 305 export EGIT_DIR=${EGIT_DIR}
264 debug-print "${FUNCNAME}: Storing the repo into \"${EGIT_DIR}\"." 306 debug-print "${FUNCNAME}: Storing the repo into \"${EGIT_DIR}\"."
265} 307}
266 308
267# @FUNCTION: git-2_move_source 309# @FUNCTION: git-2_move_source
310# @INTERNAL
268# @DESCRIPTION: 311# @DESCRIPTION:
269# Internal function moving sources from the EGIT_DIR to EGIT_SOURCEDIR dir. 312# Internal function moving sources from the EGIT_DIR to EGIT_SOURCEDIR dir.
270git-2_move_source() { 313git-2_move_source() {
271 debug-print-function ${FUNCNAME} "$@" 314 debug-print-function ${FUNCNAME} "$@"
272 315
278 || die "${FUNCNAME}: sync to \"${EGIT_SOURCEDIR}\" failed" 321 || die "${FUNCNAME}: sync to \"${EGIT_SOURCEDIR}\" failed"
279 popd > /dev/null 322 popd > /dev/null
280} 323}
281 324
282# @FUNCTION: git-2_initial_clone 325# @FUNCTION: git-2_initial_clone
326# @INTERNAL
283# @DESCRIPTION: 327# @DESCRIPTION:
284# Internal function running initial clone on specified repo_uri. 328# Internal function running initial clone on specified repo_uri.
285git-2_initial_clone() { 329git-2_initial_clone() {
286 debug-print-function ${FUNCNAME} "$@" 330 debug-print-function ${FUNCNAME} "$@"
287 331
301 [[ ${EGIT_REPO_URI_SELECTED} ]] \ 345 [[ ${EGIT_REPO_URI_SELECTED} ]] \
302 || die "${FUNCNAME}: can't fetch from ${EGIT_REPO_URI}" 346 || die "${FUNCNAME}: can't fetch from ${EGIT_REPO_URI}"
303} 347}
304 348
305# @FUNCTION: git-2_update_repo 349# @FUNCTION: git-2_update_repo
350# @INTERNAL
306# @DESCRIPTION: 351# @DESCRIPTION:
307# Internal function running update command on specified repo_uri. 352# Internal function running update command on specified repo_uri.
308git-2_update_repo() { 353git-2_update_repo() {
309 debug-print-function ${FUNCNAME} "$@" 354 debug-print-function ${FUNCNAME} "$@"
310 355
336 [[ ${EGIT_REPO_URI_SELECTED} ]] \ 381 [[ ${EGIT_REPO_URI_SELECTED} ]] \
337 || die "${FUNCNAME}: can't update from ${EGIT_REPO_URI}" 382 || die "${FUNCNAME}: can't update from ${EGIT_REPO_URI}"
338} 383}
339 384
340# @FUNCTION: git-2_fetch 385# @FUNCTION: git-2_fetch
386# @INTERNAL
341# @DESCRIPTION: 387# @DESCRIPTION:
342# Internal function fetching repository from EGIT_REPO_URI and storing it in 388# Internal function fetching repository from EGIT_REPO_URI and storing it in
343# specified EGIT_STORE_DIR. 389# specified EGIT_STORE_DIR.
344git-2_fetch() { 390git-2_fetch() {
345 debug-print-function ${FUNCNAME} "$@" 391 debug-print-function ${FUNCNAME} "$@"
391 [[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]] \ 437 [[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]] \
392 && echo " commit: ${EGIT_COMMIT}" 438 && echo " commit: ${EGIT_COMMIT}"
393 echo " branch: ${EGIT_BRANCH}" 439 echo " branch: ${EGIT_BRANCH}"
394 echo " storage directory: \"${EGIT_DIR}\"" 440 echo " storage directory: \"${EGIT_DIR}\""
395 echo " checkout type: ${repo_type}" 441 echo " checkout type: ${repo_type}"
442
443 # Cleanup after git.eclass
444 if [[ ${EGIT_OLD_CLONE} ]]; then
445 einfo "${FUNCNAME}: removing old clone in ${EGIT_OLD_CLONE}."
446 rm -rf "${EGIT_OLD_CLONE}"
447 fi
396} 448}
397 449
398# @FUNCTION: git_bootstrap 450# @FUNCTION: git_bootstrap
451# @INTERNAL
399# @DESCRIPTION: 452# @DESCRIPTION:
400# Internal function that runs bootstrap command on unpacked source. 453# Internal function that runs bootstrap command on unpacked source.
401git-2_bootstrap() { 454git-2_bootstrap() {
402 debug-print-function ${FUNCNAME} "$@" 455 debug-print-function ${FUNCNAME} "$@"
403 456
436 popd > /dev/null 489 popd > /dev/null
437 fi 490 fi
438} 491}
439 492
440# @FUNCTION: git-2_migrate_repository 493# @FUNCTION: git-2_migrate_repository
494# @INTERNAL
441# @DESCRIPTION: 495# @DESCRIPTION:
442# Internal function migrating between bare and normal checkout repository. 496# Internal function migrating between bare and normal checkout repository.
443# This is based on usage of EGIT_SUBMODULES, at least until they 497# This is based on usage of EGIT_SUBMODULES, at least until they
444# start to work with bare checkouts sanely. 498# start to work with bare checkouts sanely.
445# This function also set some global variables that differ between 499# This function also set some global variables that differ between
446# bare and non-bare checkout. 500# bare and non-bare checkout.
447git-2_migrate_repository() { 501git-2_migrate_repository() {
448 debug-print-function ${FUNCNAME} "$@" 502 debug-print-function ${FUNCNAME} "$@"
449 503
450 local target returnstate 504 local bare returnstate
451 505
452 # first find out if we have submodules 506 # first find out if we have submodules
507 # or user explicitly wants us to use non-bare clones
453 if [[ ! ${EGIT_HAS_SUBMODULES} ]]; then 508 if ! [[ ${EGIT_HAS_SUBMODULES} || ${EGIT_NONBARE} ]]; then
454 target="bare" 509 bare=1
455 else
456 target="full"
457 fi
458 # check if user didn't specify that we want non-bare repo
459 if [[ ${EGIT_NONBARE} ]]; then
460 target="full"
461 EGIT_LOCAL_NONBARE="true"
462 fi 510 fi
463 511
464 # test if we already have some repo and if so find out if we have 512 # test if we already have some repo and if so find out if we have
465 # to migrate the data 513 # to migrate the data
466 if [[ -d ${EGIT_DIR} ]]; then 514 if [[ -d ${EGIT_DIR} ]]; then
467 if [[ ${target} == bare && -d ${EGIT_DIR}/.git ]]; then 515 if [[ ${bare} && -d ${EGIT_DIR}/.git ]]; then
468 debug-print "${FUNCNAME}: converting \"${EGIT_DIR}\" to bare copy" 516 debug-print "${FUNCNAME}: converting \"${EGIT_DIR}\" to bare copy"
469 517
470 ebegin "Converting \"${EGIT_DIR}\" from non-bare to bare copy" 518 ebegin "Converting \"${EGIT_DIR}\" from non-bare to bare copy"
471 mv "${EGIT_DIR}/.git" "${EGIT_DIR}.bare" 519 mv "${EGIT_DIR}/.git" "${EGIT_DIR}.bare"
472 export GIT_DIR="${EGIT_DIR}.bare" 520 export GIT_DIR="${EGIT_DIR}.bare"
474 returnstate=$? 522 returnstate=$?
475 unset GIT_DIR 523 unset GIT_DIR
476 rm -rf "${EGIT_DIR}" 524 rm -rf "${EGIT_DIR}"
477 mv "${EGIT_DIR}.bare" "${EGIT_DIR}" 525 mv "${EGIT_DIR}.bare" "${EGIT_DIR}"
478 eend ${returnstate} 526 eend ${returnstate}
479 fi
480 if [[ ${target} == full && ! -d ${EGIT_DIR}/.git ]]; then 527 elif [[ ! ${bare} && ! -d ${EGIT_DIR}/.git ]]; then
481 debug-print "${FUNCNAME}: converting \"${EGIT_DIR}\" to non-bare copy" 528 debug-print "${FUNCNAME}: converting \"${EGIT_DIR}\" to non-bare copy"
482 529
483 ebegin "Converting \"${EGIT_DIR}\" from bare to non-bare copy" 530 ebegin "Converting \"${EGIT_DIR}\" from bare to non-bare copy"
484 git clone -l "${EGIT_DIR}" "${EGIT_DIR}.nonbare" > /dev/null 531 git clone -l "${EGIT_DIR}" "${EGIT_DIR}.nonbare" > /dev/null
485 returnstate=$? 532 returnstate=$?
495 einfo "Migration failed, removing \"${EGIT_DIR}\" to start from scratch." 542 einfo "Migration failed, removing \"${EGIT_DIR}\" to start from scratch."
496 rm -rf "${EGIT_DIR}" 543 rm -rf "${EGIT_DIR}"
497 fi 544 fi
498 545
499 # set various options to work with both targets 546 # set various options to work with both targets
500 if [[ ${target} == bare ]]; then 547 if [[ ${bare} ]]; then
501 debug-print "${FUNCNAME}: working in bare repository for \"${EGIT_DIR}\"" 548 debug-print "${FUNCNAME}: working in bare repository for \"${EGIT_DIR}\""
502 EGIT_LOCAL_OPTIONS+="${EGIT_OPTIONS} --bare" 549 EGIT_LOCAL_OPTIONS+="${EGIT_OPTIONS} --bare"
503 MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR// /\\ }" 550 MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR// /\\ }"
504 EGIT_UPDATE_CMD="git fetch -t -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}" 551 EGIT_UPDATE_CMD="git fetch -t -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}"
505 UPSTREAM_BRANCH="${EGIT_BRANCH}" 552 UPSTREAM_BRANCH="${EGIT_BRANCH}"
553 EGIT_LOCAL_NONBARE=
506 else 554 else
507 debug-print "${FUNCNAME}: working in bare repository for non-bare \"${EGIT_DIR}\"" 555 debug-print "${FUNCNAME}: working in bare repository for non-bare \"${EGIT_DIR}\""
508 MOVE_COMMAND="cp -pPR ." 556 MOVE_COMMAND="cp -pPR ."
509 EGIT_LOCAL_OPTIONS="${EGIT_OPTIONS}" 557 EGIT_LOCAL_OPTIONS="${EGIT_OPTIONS}"
510 EGIT_UPDATE_CMD="git pull -f -u ${EGIT_OPTIONS}" 558 EGIT_UPDATE_CMD="git pull -f -u ${EGIT_OPTIONS}"
512 EGIT_LOCAL_NONBARE="true" 560 EGIT_LOCAL_NONBARE="true"
513 fi 561 fi
514} 562}
515 563
516# @FUNCTION: git-2_cleanup 564# @FUNCTION: git-2_cleanup
565# @INTERNAL
517# @DESCRIPTION: 566# @DESCRIPTION:
518# Internal function cleaning up all the global variables 567# Internal function cleaning up all the global variables
519# that are not required after the unpack has been done. 568# that are not required after the unpack has been done.
520git-2_cleanup() { 569git-2_cleanup() {
521 debug-print-function ${FUNCNAME} "$@" 570 debug-print-function ${FUNCNAME} "$@"
531 unset EGIT_UPDATE_CMD 580 unset EGIT_UPDATE_CMD
532 unset UPSTREAM_BRANCH 581 unset UPSTREAM_BRANCH
533 unset EGIT_LOCAL_NONBARE 582 unset EGIT_LOCAL_NONBARE
534} 583}
535 584
585git-2_r3_wrapper() {
586 ewarn "Using git-r3 backend in git-2. Not everything is supported."
587 ewarn "Expect random failures and have fun testing."
588
589 if [[ ${EGIT_SOURCEDIR} ]]; then
590 EGIT_CHECKOUT_DIR=${EGIT_SOURCEDIR}
591 unset EGIT_SOURCEDIR
592 fi
593
594 if [[ ${EGIT_MASTER} ]]; then
595 : ${EGIT_BRANCH:=${EGIT_MASTER}}
596 unset EGIT_MASTER
597 fi
598
599 if [[ ${EGIT_HAS_SUBMODULES} ]]; then
600 unset EGIT_HAS_SUBMODULES
601 fi
602
603 if [[ ${EGIT_PROJECT} ]]; then
604 unset EGIT_PROJECT
605 fi
606
607 local boots unp
608 if [[ ${EGIT_NOUNPACK} ]]; then
609 unp=1
610 unset EGIT_NOUNPACK
611 fi
612
613 if [[ ${EGIT_BOOTSTRAP} ]]; then
614 boots=1
615 unset EGIT_BOOTSTRAP
616 fi
617
618 git-r3_src_unpack
619
620 [[ ${boots} ]] && EGIT_BOOTSTRAP=${boots} git-2_bootstrap
621 [[ ${unp} ]] && EGIT_NOUNPACK=1
622}
623
536# @FUNCTION: git-2_src_unpack 624# @FUNCTION: git-2_src_unpack
537# @DESCRIPTION: 625# @DESCRIPTION:
538# Default git src_unpack function. 626# Default git src_unpack function.
539git-2_src_unpack() { 627git-2_src_unpack() {
540 debug-print-function ${FUNCNAME} "$@" 628 debug-print-function ${FUNCNAME} "$@"
541 629
630 if [[ ${EGIT_USE_GIT_R3} ]]; then
631 git-2_r3_wrapper
632 else
542 git-2_init_variables 633 git-2_init_variables
543 git-2_prepare_storedir 634 git-2_prepare_storedir
544 git-2_migrate_repository 635 git-2_migrate_repository
545 git-2_fetch "$@" 636 git-2_fetch "$@"
546 git-2_gc 637 git-2_gc
547 git-2_submodules 638 git-2_submodules
548 git-2_move_source 639 git-2_move_source
549 git-2_branch 640 git-2_branch
550 git-2_bootstrap 641 git-2_bootstrap
551 git-2_cleanup 642 git-2_cleanup
552 echo ">>> Unpacked to ${EGIT_SOURCEDIR}" 643 echo ">>> Unpacked to ${EGIT_SOURCEDIR}"
644 fi
553 645
554 # Users can specify some SRC_URI and we should 646 # Users can specify some SRC_URI and we should
555 # unpack the files too. 647 # unpack the files too.
556 if [[ ! ${EGIT_NOUNPACK} ]]; then 648 if [[ ! ${EGIT_NOUNPACK} ]]; then
557 if has ${EAPI:-0} 0 1; then 649 if has ${EAPI:-0} 0 1; then

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20