Commit 5b0b57f
apply: learn to use a different index file
Sometimes we want to apply in a different index file.
Before the apply functionality was libified it was possible to
use the GIT_INDEX_FILE environment variable, for this purpose.
But now, as the apply functionality has been libified, it should
be possible to do that in a libified way.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent b429034 commit 5b0b57f
2 files changed
Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3993 | 3993 | | |
3994 | 3994 | | |
3995 | 3995 | | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
3996 | 4004 | | |
3997 | | - | |
| 4005 | + | |
| 4006 | + | |
3998 | 4007 | | |
3999 | 4008 | | |
4000 | 4009 | | |
4001 | | - | |
| 4010 | + | |
4002 | 4011 | | |
4003 | 4012 | | |
4004 | 4013 | | |
| |||
4071 | 4080 | | |
4072 | 4081 | | |
4073 | 4082 | | |
4074 | | - | |
| 4083 | + | |
4075 | 4084 | | |
4076 | 4085 | | |
4077 | 4086 | | |
| |||
4675 | 4684 | | |
4676 | 4685 | | |
4677 | 4686 | | |
4678 | | - | |
4679 | | - | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
| 4691 | + | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
4680 | 4695 | | |
4681 | | - | |
| 4696 | + | |
4682 | 4697 | | |
4683 | 4698 | | |
4684 | 4699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
0 commit comments