~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to builtin-checkout-index.c

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-04-22 13:31:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20070422133105-xg8fnm18r2cxcbg1
Tags: upstream-1.5.1.2
ImportĀ upstreamĀ versionĀ 1.5.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
                        to_tempfile = 1;
224
224
                        continue;
225
225
                }
226
 
                if (!strncmp(arg, "--prefix=", 9)) {
 
226
                if (!prefixcmp(arg, "--prefix=")) {
227
227
                        state.base_dir = arg+9;
228
228
                        state.base_dir_len = strlen(state.base_dir);
229
229
                        continue;
230
230
                }
231
 
                if (!strncmp(arg, "--stage=", 8)) {
 
231
                if (!prefixcmp(arg, "--stage=")) {
232
232
                        if (!strcmp(arg + 8, "all")) {
233
233
                                to_tempfile = 1;
234
234
                                checkout_stage = CHECKOUT_ALL;